public interface IControl

Interface for control in edit form.

Author:Dmitry Baryshnikov Methods addToLayout

void addToLayout(ViewGroup layout)

Executed to add control to the specified layout

  • layout – to add control getFieldName

String getFieldName()

Return layer field name linked with control

Returns:field name getValue

Object getValue()

Return the value from feature or entered by user

Returns:value from user input or feature saveState

void saveState(Bundle outState)

Save control state in onPause and etc.

  • outState – bundle to save state to setEnabled

void setEnabled(boolean enabled)