nUIDropdownlistEntry
com.softwareag.mobile.runtime.nui.nUIDropdownlistEntry
Use to display a drop-down list that contains selection items.
Usage Notes
If a drop-down list contains less than five items, consider using the
nUIRadioCheckbox object instead.
Example
This code sample displays a drop-down list. Details on how the example code is rendered on various platforms follow the code sample.
String[] list_items = new String[] {"Lorem", "ipsum", "dolor", "sit", "amet"};
view.add(new nUIDropdownlistEntry(NUIID_MY_DROPDOWNLIST, list_items));
Platform | Platform-Specific Class and Visual Reference |
Android | android.widget.Spinner |
iOS | UIPickerView |