Skip to content

category row

milan jurkulák edited this page Aug 29, 2024 · 2 revisions

//tvlib/org.mjdev.tvlib.ui.components.tv/CategoryRow

CategoryRow

[androidJvm]\

@Composable

fun CategoryRow(title: Any? = "category", items: List<Any?> = listOf(Unit, Unit, Unit), rowState: LazyListState = rememberLazyListState(), padding: Dp = 8.dp, cardWidth: Dp = computeCardWidth(), contentScale: ContentScale = ContentScale.Crop, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundCornerSize: Dp = 8.dp, backgroundShape: Shape = RoundedCornerShape(roundCornerSize), onItemFocus: (item: Any?, fromUser: Boolean) -> Unit? = null, onItemClick: (item: Any?) -> Unit? = null, contentOfItem: @Composable(item: Any?) -> Unit = { item -> PhotoCard( item = item, contentScale = contentScale, cardWidth = cardWidth, onClick = onItemClick, onFocus = onItemFocus ) })

Clone this wiki locally