-local-video-row.md 2.8 KB

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

LocalVideoRow

[androidJvm]

@Composable

fun LocalVideoRow(title: Any? = R.string.title_video_local, rowState: TvLazyListState = rememberTvLazyListState(), padding: Dp = 8.dp, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundCornerSize: Dp = 8.dp, backgroundShape: Shape = RoundedCornerShape(roundCornerSize), selection: String? = null, selectionArgs: Array<String>? = null, sortOrder: String? = VideoItem.SORT_ORDER_DATE_DESC, cardWidth: Dp = computeCardWidth(), contentScale: ContentScale = ContentScale.Crop, transform: (Cursor) -> Any? = { c -> VideoItem(c) }, cursor: Cursor? = rememberCursor(

    uri = VideoItem.URI,
    projection = VideoItem.MEDIA_PROJECTION,
    selection = selection,
    selectionArgs = selectionArgs,
    sortOrder = sortOrder,
    transform = transform
), onItemFocus: (item: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, fromUser: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)) -&gt; [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)? = null, openItem: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html).(item: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?) -&gt; [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)? = null)