LazyGridItemEntranceState

Retains the keys that have started an entrance animation for a particular lazy grid state.

Keys are retained for this state's lifetime until removed with reset. This allows LazyGridItemEntranceRepeatMode.OncePerKey to survive lazy-layout disposal and recomposition.

Functions

Link copied to clipboard
fun reset()

Allows all keys to animate again the next time they enter composition.

fun reset(key: Any)

Allows key to animate again the next time it enters composition.