Skip to content

Instantly share code, notes, and snippets.

@Ahmad-Hamwi
Created September 24, 2021 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ahmad-Hamwi/56daf93bd0d8fcb28eeaa3f06f9a9744 to your computer and use it in GitHub Desktop.
Save Ahmad-Hamwi/56daf93bd0d8fcb28eeaa3f06f9a9744 to your computer and use it in GitHub Desktop.
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