ScrollInfoProvider
Function for creating a [ScrollInfoProvider] from a [ScalingLazyListState], for use with
ScrollInfoProvider
public fun ScrollInfoProvider(state: ScalingLazyListState): ScrollInfoProvider
Function for creating a ScrollInfoProvider from a ScalingLazyListState, for use with
ScalingLazyColumn - used to coordinate between scrollable content and scaffold content such as
TimeText which is scrolled away at the top of the screen and EdgeButton which is scaled.
public fun ScrollInfoProvider(state: LazyListState): ScrollInfoProvider
Function for creating a ScrollInfoProvider from a LazyListState, for use with LazyColumn -
used to coordinate between scrollable content and scaffold content such as TimeText which is
scrolled away at the top of the screen and EdgeButton which is scaled.
public fun ScrollInfoProvider(state: TransformingLazyColumnState): ScrollInfoProvider
Function for creating a ScrollInfoProvider from a TransformingLazyColumnState, for use with
TransformingLazyColumn - used to coordinate between scrollable content and scaffold content
such as TimeText which is scrolled away at the top of the screen and EdgeButton which is
scaled.
public fun ScrollInfoProvider(state: ScrollState): ScrollInfoProvider
Function for creating a ScrollInfoProvider from a ScrollState, for use with Column - used
to coordinate between scrollable content and scaffold content such as TimeText which is
scrolled away at the top of the screen and EdgeButton which is scaled.
Parameters
| state | the ScrollState to use as the base for creating the ScrollInfoProvider |
public fun ScrollInfoProvider(state: PagerState): ScrollInfoProvider
Function for creating a ScrollInfoProvider from a PagerState, for use with HorizontalPager
and VerticalPager
- used to coordinate when to fade out the PageIndicator and
TimeText. The PageIndicator fades out when when scrolling is finished and the screen is in an idle state.
Parameters
| state | the PagerState to use as the base for creating the ScrollInfoProvider |
