class AreaPicker extends AppCompatEditText implements AreaView, OnClickListener {

    @Override public void setArea(Area area) {
        if (area == null)
            throw new IllegalArgumentException("area must not be null");
        this.area = area;
        setText(area.prettyPrint());
        if (listener != null)
            listener.onAreaChanged(area);
    }

    public  AreaPicker(Context context);
    public  AreaPicker(Context context, AttributeSet attrs);
    public  AreaPicker(Context context, AttributeSet attrs, int defStyleAttr);

}