transition
open fun transition(carousel: Carousel<T, *>, startItem: Int, endItem: Int, update: (progress: Float) -> Unit): Pausable(source)
Defines how a Carousel should transition between items. The default is to instantaneously jump between items. But this API allows for animating this movement.
Parameters
carousel
in question
startItem
the carousel transitioning from
endItem
the carousel transitioning to
update
called to indicate progress changes to carousel