webMethods Mobile Suite  | webMethods Mobile SuiteWeb Help | webMethods Mobile Designer Native User Interface Reference | Native User Interface (NativeUI) Objects | nUIDropdownlistEntry
 
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

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.