Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
creating a list of categories, each category has a list of items
private val categories = mutableListOf(
Category(
"Category 1",
Item("Item 1"),
Item("Item 2"),
Item("Item 3"),
Item("Item 4"),
Item("Item 5"),
Item("Item 6")
),
...
...
...
Category(
"Category 5",
Item("Item 1"),
Item("Item 2"),
Item("Item 4"),
Item("Item 5"),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment