-
Notifications
You must be signed in to change notification settings - Fork 0
tv grid view
//tvlib/org.mjdev.tvlib.ui.components.gridview/TvGridView
[androidJvm]\
fun TvGridView(modifier: Modifier = Modifier, items: List<Any?> = listOf( Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit, Unit ), state: LazyGridState = rememberLazyGridState(), cardWidth: Dp = computeCardWidth(), aspectRatio: Float = 16f / 9f, contentScale: ContentScale = ContentScale.Crop, onItemFocus: (item: Any?, fromUser: Boolean) -> Unit? = null, onItemClick: (item: Any?) -> Unit? = null, verticalArrangement: Arrangement.HorizontalOrVertical = Arrangement.spacedBy(16.dp), horizontalArrangement: Arrangement.HorizontalOrVertical = Arrangement.spacedBy(16.dp), contentOfItem: @Composable(item: Any?) -> Unit = { item -> PhotoCard( item = item, aspectRatio = aspectRatio, contentScale = contentScale, cardWidth = cardWidth, onClick = onItemClick, onFocus = onItemFocus ) })