app / com.pzpg.ogr.library.listContent / ListContent
ListContent
object ListContent
Helper class for providing sample content for user interfaces created by Android template wizards.
TODO: Replace all uses of this class before publishing your app.
Types
| Name | Summary |
|---|---|
| ListItem | A graph item representing a piece of content.data class ListItem |
Properties
| Name | Summary |
|---|---|
| ITEM_MAP | A map of sample (dummy) items, by ID.val ITEM_MAP: MutableMap<String, ListItem> |
| ITEMS | An array of sample (dummy) items.val ITEMS: MutableList<ListItem> |
Functions
| Name | Summary |
|---|---|
| addItem | fun addItem(item: ListItem): Unit |
| createListItem | fun createListItem(position: Int, content: String, uri: Uri): ListItem |
| reset | fun reset(): Unit |