-
Notifications
You must be signed in to change notification settings - Fork 0
Lists
Jonas Wanke edited this page Jul 29, 2020
·
6 revisions
You can create a list by simply calling MDList new openInHand
.
This will show a list without any content.
To create a basic MDList you might want to use something like the following:
| list |
list := MDList new.
1 to: 20 do: [ :each |
| item |
item := MDListItem newOnList: list.
list addListItem: (
item
text: 'ListItem ', each;
yourself)].
list openInHand
or just call
MDBasicListExample new openInHand
-
showDividers: aBoolean
define whether the list should contain dividers or not -
addListItem: aMDListItem
add a item to the bottom of the list -
filterList: aString
manually filter the list