CarouselParallaxScrollEffectState
public fun CarouselParallaxScrollEffectState(
state: LazyListState
): CarouselParallaxScrollEffectState
Create a CarouselParallaxScrollEffectState object for a androidx.compose.foundation.lazy.LazyRow or androidx.compose.foundation.lazy.LazyColumn.
Remember a CarouselParallaxScrollEffectState for the LazyList and use carouselParallaxScrollEffect on each item's container that should be clipped and translated to create the effect.
Parameters
| state | the LazyListState of the list |
CarouselParallaxScrollEffectState
public fun CarouselParallaxScrollEffectState(
state: LazyGridState
): CarouselParallaxScrollEffectState
Create a CarouselParallaxScrollEffectState object for a androidx.compose.foundation.lazy.grid.LazyHorizontalGrid or androidx.compose.foundation.lazy.grid.LazyVerticalGrid.
Remember a CarouselParallaxScrollEffectState for the LazyGrid and use carouselParallaxScrollEffect on each item's container that should be clipped and translated to create the effect.
Parameters
| state | the LazyGridState for the grid |