EntityScreen
fun EntityScreen(columnState: ScalingLazyColumnState, headerContent: @Composable () -> Unit, modifier: Modifier = Modifier, buttonsContent: @Composable () -> Unit? = null, content: ScalingLazyListScope.() -> Unit? = null)
A screen that displays a media collection and allow actions to be taken on it.
fun <Media> EntityScreen(columnState: ScalingLazyColumnState, headerContent: @Composable () -> Unit, mediaList: List<Media>, mediaContent: @Composable (media: Media) -> Unit, modifier: Modifier = Modifier, buttonsContent: @Composable () -> Unit? = null)
A screen that displays a Media collection and allow actions to be taken on it.
fun <Media> EntityScreen(columnState: ScalingLazyColumnState, entityScreenState: EntityScreenState<Media>, headerContent: @Composable () -> Unit, loadingContent: ScalingLazyListScope.() -> Unit, mediaContent: @Composable (media: Media) -> Unit, modifier: Modifier = Modifier, buttonsContent: @Composable () -> Unit? = null, failedContent: @Composable () -> Unit? = null)
A screen that displays a Media collection and allow actions to be taken on it. The content displayed is based on the screen's state.