Combobox

public class Combobox extends AppCompatSpinner implements IFormControl

Fields

mAliasValueMap

protected Map<String, String> mAliasValueMap

mFieldName

protected String mFieldName

mIsShowLast

protected boolean mIsShowLast

Constructors

Combobox

public Combobox(Context context)

Combobox

public Combobox(Context context, AttributeSet attrs)

Combobox

public Combobox(Context context, AttributeSet attrs, int defStyleAttr)

Methods

addToLayout

public void addToLayout(ViewGroup layout)

getFieldName

public String getFieldName()

getValue

public Object getValue()

init

public void init(JSONObject element, List<Field> fields, Bundle savedState, Cursor featureCursor, SharedPreferences preferences)

isShowLast

public boolean isShowLast()

saveLastValue

public void saveLastValue(SharedPreferences preferences)

saveState

public void saveState(Bundle outState)