Skip to content

SimpleListDialog

Philipp Niedermayer edited this page Feb 11, 2017 · 15 revisions

CustomListDialog

extends CustomListDialog

A ListDialog that displays text items.

Additional customizations

  • Items
    .items(String[] labels)
    .items(Context context, int[] labelsResourceIds)
    .items(String[] labels, long[] ids)
    Populate the list with the labels provided (either Strings or android resource ids). Optionally, an array of ids can be used to identify which labels were selected in onResult.

items(ArrayList<? extends SimpleListItem> items)
Use a custom set of objects extending SimpleListItem and overwrite it's getString() and (optionally) getId() method.

Receiving results

See CustomListDialog

Clone this wiki locally