NavigableContentContainer
Wrapper for Slideshow slides that want to initially display a subset of their content, and eventually reveal more content as the slideshow is advanced. The children of this content receive a NavigableContentScope, which can be used to define pieces of content which should be gradually revealed. Every occurrence of NavigableContentScope.NavigableContent will be initially invoked with visible=false
, and then gradually invoked with visible=true
as the slideshow is advanced.
This composable works really well with androidx.compose.animation.AnimatedVisibility, which takes a boolean visible flag and optional enter/exit animations.