nUIListElement
com.softwareag.mobile.runtime.nui.nUIListElement
Use to add a scrollable list of elements to the view. Elements are fetched on an as-needed basis.
Example
This code sample instantiates the user's IListViewProvider class, MyListProvider, and then uses it for the creation of a nUIListElement with a fixed height. Details on how the example code is rendered on various platforms follow the code sample.
MyListProvider provider = new MyListProvider();
nUIListElement list = new nUIListElement(provider);
list.setHeight(400);
view.add(list);
Platform | Platform-Specific Class and Visual Reference |
Android | RecyclerView |
iOS | Custom implementation based around UITableView |