-
- All Implemented Interfaces:
-
androidx.compose.foundation.gestures.ScrollableState
public final class ScalingLazyColumnState implements ScrollableStateA Config and State object wrapping up all configuration for a ScalingLazyColumn. This allows defaults such as ScalingLazyColumnDefaults.responsive.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceScalingLazyColumnState.RotaryModepublic final classScalingLazyColumnState.ScrollPositionpublic interfaceScalingLazyColumnState.Factory
-
Field Summary
Fields Modifier and Type Field Description private ScalingLazyListStatestateprivate final BooleancanScrollBackwardprivate final BooleancanScrollForwardprivate final BooleanisScrollInProgressprivate final ScalingLazyColumnState.ScrollPositioninitialScrollPositionprivate final ScalingLazyColumnState.ScrollPositiontimeTextHomeOffsetprivate final AutoCenteringParamsautoCenteringprivate final ScalingLazyListAnchorTypeanchorTypeprivate final PaddingValuescontentPaddingprivate final ScalingLazyColumnState.RotaryModerotaryModeprivate final BooleanreverseLayoutprivate final Arrangement.VerticalverticalArrangementprivate final Alignment.HorizontalhorizontalAlignmentprivate final BooleanuserScrollEnabledprivate final ScalingParamsscalingParamsprivate final BooleanhapticsEnabledprivate final BooleanlastScrolledBackwardprivate final BooleanlastScrolledForward
-
Constructor Summary
Constructors Constructor Description ScalingLazyColumnState(ScalingLazyColumnState.ScrollPosition initialScrollPosition, ScalingLazyColumnState.ScrollPosition timeTextHomeOffset, AutoCenteringParams autoCentering, ScalingLazyListAnchorType anchorType, PaddingValues contentPadding, ScalingLazyColumnState.RotaryMode rotaryMode, Boolean reverseLayout, Arrangement.Vertical verticalArrangement, Alignment.Horizontal horizontalAlignment, Boolean userScrollEnabled, ScalingParams scalingParams, Boolean hapticsEnabled)
-
Method Summary
Modifier and Type Method Description final ScalingLazyListStategetState()final UnitsetState(ScalingLazyListState state)BooleangetCanScrollBackward()BooleangetCanScrollForward()BooleangetIsScrollInProgress()final ScalingLazyColumnState.ScrollPositiongetInitialScrollPosition()final ScalingLazyColumnState.ScrollPositiongetTimeTextHomeOffset()final AutoCenteringParamsgetAutoCentering()final ScalingLazyListAnchorTypegetAnchorType()final PaddingValuesgetContentPadding()final ScalingLazyColumnState.RotaryModegetRotaryMode()final BooleangetReverseLayout()final Arrangement.VerticalgetVerticalArrangement()final Alignment.HorizontalgetHorizontalAlignment()final BooleangetUserScrollEnabled()final ScalingParamsgetScalingParams()final BooleangetHapticsEnabled()BooleangetLastScrolledBackward()BooleangetLastScrolledForward()FloatdispatchRawDelta(Float delta)Unitscroll(MutatePriority scrollPriority, SuspendFunction1<ScrollScope, Unit> block)-
-
Constructor Detail
-
ScalingLazyColumnState
ScalingLazyColumnState(ScalingLazyColumnState.ScrollPosition initialScrollPosition, ScalingLazyColumnState.ScrollPosition timeTextHomeOffset, AutoCenteringParams autoCentering, ScalingLazyListAnchorType anchorType, PaddingValues contentPadding, ScalingLazyColumnState.RotaryMode rotaryMode, Boolean reverseLayout, Arrangement.Vertical verticalArrangement, Alignment.Horizontal horizontalAlignment, Boolean userScrollEnabled, ScalingParams scalingParams, Boolean hapticsEnabled)
-
-
Method Detail
-
getState
final ScalingLazyListState getState()
-
getCanScrollBackward
Boolean getCanScrollBackward()
-
getCanScrollForward
Boolean getCanScrollForward()
-
getIsScrollInProgress
Boolean getIsScrollInProgress()
-
getInitialScrollPosition
final ScalingLazyColumnState.ScrollPosition getInitialScrollPosition()
-
getTimeTextHomeOffset
final ScalingLazyColumnState.ScrollPosition getTimeTextHomeOffset()
-
getAutoCentering
final AutoCenteringParams getAutoCentering()
-
getAnchorType
final ScalingLazyListAnchorType getAnchorType()
-
getContentPadding
final PaddingValues getContentPadding()
-
getRotaryMode
final ScalingLazyColumnState.RotaryMode getRotaryMode()
-
getReverseLayout
final Boolean getReverseLayout()
-
getVerticalArrangement
final Arrangement.Vertical getVerticalArrangement()
-
getHorizontalAlignment
final Alignment.Horizontal getHorizontalAlignment()
-
getUserScrollEnabled
final Boolean getUserScrollEnabled()
-
getScalingParams
final ScalingParams getScalingParams()
-
getHapticsEnabled
final Boolean getHapticsEnabled()
-
getLastScrolledBackward
Boolean getLastScrolledBackward()
-
getLastScrolledForward
Boolean getLastScrolledForward()
-
dispatchRawDelta
Float dispatchRawDelta(Float delta)
-
scroll
Unit scroll(MutatePriority scrollPriority, SuspendFunction1<ScrollScope, Unit> block)
-
-
-
-