-
- All Implemented Interfaces:
-
com.google.android.horologist.compose.rotaryinput.RotaryScrollBehavior
public final class AnimationScrollBehavior implements RotaryScrollBehavior
Animation implementation of RotaryScrollBehavior. This class does a smooth animation when the scroll by N pixels is done. This animation works well on Rsb(high-res) and Bezel(low-res) devices.
-
-
Constructor Summary
Constructors Constructor Description AnimationScrollBehavior(ScrollableState scrollableState)
-
Method Summary
Modifier and Type Method Description UnithandleEvent(Float targetValue)Handles scroll event to targetValue -
-
Method Detail
-
handleEvent
Unit handleEvent(Float targetValue)
Handles scroll event to targetValue
-
-
-
-