Skip to content

item info

milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.ui.components.gallery/ItemInfo

ItemInfo

[androidJvm]\

@Composable

fun ItemInfo(modifier: Modifier = Modifier, src: Any? = null, visible: Boolean = isEditMode(), backgroundColor: Color = Color.Transparent, metadataRetriever: MetadataRetriever = rememberMetaDataRetriever(), titleFromItem: () -> Any? = { (src as? ItemWithTitle<*>)?.title }, dateFromItem: () -> Any? = { (src as? ItemWithDate)?.date ?: "-" }, detailsFromItem: () -> Any? = { metadataRetriever.getInfo(src) })

Clone this wiki locally