com.google.android.material.carousel

Interfaces

Carousel

An interface that defines a widget that can be configured as a Carousel.

OnMaskChangedListener

An interface that reports changes in mask values.

Classes

Arrangement

A class that holds data about a combination of large, medium, and small items, knows how to alter an arrangement to fit within an available space, and can assess the arrangement's desirability according to a priority heuristic.

CarouselLayoutManager

A LayoutManager that can mask and offset items along the scrolling axis, creating a unique list optimized for a stylized viewing experience.

CarouselSnapHelper

Implementation of the SnapHelper that supports snapping items to the carousel keylines according to the strategy.

CarouselStrategy

A class responsible for creating a model used by a carousel to mask and offset views as they move along a scrolling axis.

FullScreenCarouselStrategy

A CarouselStrategy that fits one full-width or full-height item into a container to create a layout to browse one item at a time.

HeroCarouselStrategy

A CarouselStrategy that knows how to size and fit one large item and one small item into a container to create a layout to browse one 'hero' item at a time with a preview item.

KeylineState

An arrangement of keylines that are positioned along a scrolling axis.

KeylineState.Builder

A builder used to construct a KeylineState.

KeylineStateList

An object that manages a KeylineState and handles shifting the focal keyline range to the left and right of a the carousel container automatically.

MaskableFrameLayout

A FrameLayout than is able to mask itself and all children.

MultiBrowseCarouselStrategy

A CarouselStrategy that knows how to size and fit large, medium and small items into a container to create a layout for quick browsing of multiple items at once.

UncontainedCarouselStrategy

A CarouselStrategy that does not resize the original item width and fits as many as it can into the container, cutting off the rest.