Skip to content

Commit

Permalink
in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
vextorspace committed Jun 3, 2024
1 parent f8ef677 commit d89fe3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions composeApp/src/commonMain/kotlin/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import model.ItemList
import view.ItemListCardMaker
import org.jetbrains.compose.ui.tooling.preview.Preview


@Composable
@Preview
fun App() {
val itemList = ItemList(listOf(Item("Card 1"), Item("Card 2"), Item("Card 3")), "Inbox")
val itemLists = listOf(ItemList(listOf(Item("Card 1"), Item("Card 2"), Item("Card 3")), "Inbox"))

ItemListCardMaker(itemList).compose()
HorizontalPager() {
itemLists.forEach { ItemListCardMaker(it).compose() }
}
}

0 comments on commit d89fe3a

Please sign in to comment.