Transitioner
Transitioners control how a Carousel transitions between items and how it concludes a manual move.
Inheritors
Functions
Link copied to clipboard
open fun moveEnded(carousel: Carousel<T, *>, position: Vector2D, markers: Carousel.ItemMarkers, decelerateWhile: (Vector2D) -> Carousel.ItemMarkers): Completable
Notified whenever carousel has ended a manual move. This is where a transition animation would take place to smoothly move to the desired end item.
Link copied to clipboard
Link copied to clipboard
Notified whenever carousel has moves during a manual move (called after moveStarted). Transitioners can use this to keep track of things like movement velocity if they wish to provide smooth animation when moveEnded is called.
Link copied to clipboard