-
Notifications
You must be signed in to change notification settings - Fork 0
apps row
milan jurkulák edited this page Aug 29, 2024
·
2 revisions
//tvlib/org.mjdev.tvlib.ui.components.tv/AppsRow
[androidJvm]\
fun AppsRow(title: Any? = R.string.title_apps, rowState: LazyListState = rememberLazyListState(), padding: Dp = 8.dp, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundCornerSize: Dp = 8.dp, backgroundShape: Shape = RoundedCornerShape(roundCornerSize), startApp: Context.(app: App?) -> Unit = { app -> startActivity(app?.intent) }, excludedActivities: List<ComponentName> = emptyList(), apps: State<List<App>> = rememberAppsManager( excluded = excludedActivities.toTypedArray() ).collectAsState(emptyList()), cardWidth: Dp = computeCardWidth(3f))