CarouselBehavior

Controls how Carousels behave and are rendered. It provides the Presenter used for Carousels as well as controls how they transition between items.

Types

Link copied to clipboard
abstract class Presenter<T>

Presenters own the core logic that determines what a Carousel shows at any given moment. They control which items from a Carousel's internal data are visible, how they are positioned, sized, transformed, etc. based on the Carousel's current state. Presenters can also add supplemental Views to a Carousel that aid in the presentation they provide.

Link copied to clipboard
interface Transitioner<T>

Transitioners control how a Carousel transitions between items and how it concludes a manual move.

Properties

Link copied to clipboard

The Presenter Carousels will use when this behavior is installed.

Link copied to clipboard

The Transitioner Carousels will use when this behavior is installed.

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun clipCanvasToBounds(view: Carousel<T, *>): Boolean
Link copied to clipboard
open fun contains(view: Carousel<T, *>, point: Point): Boolean
Link copied to clipboard
open fun install(view: Carousel<T, *>)
Link copied to clipboard
Link copied to clipboard
open fun render(view: Carousel<T, *>, canvas: Canvas)
Link copied to clipboard
open fun uninstall(view: Carousel<T, *>)