Skip to content

Instantly share code, notes, and snippets.

@hkawii
Last active May 2, 2021 07:59
Show Gist options
  • Save hkawii/bc5ec8c826d4a98df80208b1762e20a5 to your computer and use it in GitHub Desktop.
Save hkawii/bc5ec8c826d4a98df80208b1762e20a5 to your computer and use it in GitHub Desktop.
@Composable
fun CartItemsList(
modifier: Modifier = Modifier,
items: List<CartItem>,
cartItemDispatcher: CartItemDispatcher
) {
LazyColumn(modifier = modifier) {
items(items) { item ->
CartItemView(item, cartItemDispatcher)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment