ImmersiveListScope


@ExperimentalTvMaterial3Api
class ImmersiveListScope


Summary

Public functions

Modifier

Modifier to be added to each of the items of the list within ImmersiveList to inform the ImmersiveList of the index of the item in focus

Public functions

immersiveListItem

fun Modifier.immersiveListItem(index: Int): Modifier

Modifier to be added to each of the items of the list within ImmersiveList to inform the ImmersiveList of the index of the item in focus

NOTE: This modifier needs to be paired with either the "focusable" or the "clickable" modifier for it to work

Parameters
index: Int

index of the item within the list