Skip to content

cursor row

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

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

CursorRow

[androidJvm]\

@Composable

fun CursorRow(title: Any? = null, rowState: LazyListState = rememberLazyListState(), padding: Dp = 16.dp, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundCornerSize: Dp = 8.dp, backgroundShape: Shape = RoundedCornerShape(roundCornerSize), cardWidth: Dp = computeCardWidth(), contentScale: ContentScale = ContentScale.Crop, uri: Uri? = null, projection: Array<String> = emptyArray(), selection: String? = null, selectionArgs: Array<String>? = null, sortOrder: String? = null, transform: (Cursor) -> Any? = { it }, cursor: Cursor? = rememberCursor( uri = uri, projection = projection, selection = selection, selectionArgs = selectionArgs, sortOrder = sortOrder, transform = transform ), onItemFocus: (item: Any?, fromUser: Boolean) -> Unit? = null, openItem: Context.(item: Any?) -> Unit? = null)

Clone this wiki locally