6.3.2.5.6. IControl

public interface IControl

Interface for control in edit form.

Author:Dmitry Baryshnikov

6.3.2.5.6.1. Methods

6.3.2.5.6.1.1. addToLayout

void addToLayout(ViewGroup layout)

Executed to add control to the specified layout

Parameters:
  • layout – to add control

6.3.2.5.6.1.2. getFieldName

String getFieldName()

Return layer field name linked with control

Returns:field name

6.3.2.5.6.1.3. getValue

Object getValue()

Return the value from feature or entered by user

Returns:value from user input or feature

6.3.2.5.6.1.4. saveState

void saveState(Bundle outState)

Save control state in onPause and etc.

Parameters:
  • outState – bundle to save state to