Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | webMethods Mobile Designer Native User Interface Reference | Native User Interface (NativeUI) Objects | nUIListView
 
nUIListView
com.softwareag.mobile.runtime.nui.nUIListView
Use to add a view that contains a single nUIListElement , filling the entire space available to it.
Example
This code sample instantiates the user's IListViewProvider class, MyListProvider, and then uses it for the creation of a nUIListView with header text and a back button. Details on how the example code is rendered on various platforms follow the code sample.
MyListProvider l_provider = new MyListProvider();
nUIListView list_view = new nUIListView(-1, l_provider);
list_view.setHeadertext("A nUIListView");
nUINavbuttonElement ne = new nUINavbuttonElement(
NUIID_BACK_BUTTON, "Back",
nUINavbuttonElement.TYPE_BACK, null);
list_view.add(ne);
Platform
Platform-Specific Class and Visual Reference
Android
RecyclerView
iOS
Custom implementation based around UITableView