Lists - hpi-swa-teaching/MaterialDesignWidgets GitHub Wiki
class MDList
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
Customizing an MDList
showDividers: aBooleandefine whether the list should contain dividers or notaddListItem: aMDListItemadd a item to the bottom of the listfilterList: aStringmanually filter the list