Carousel

public interface Carousel

Known direct subclasses
CarouselLayoutManager

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


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

Summary

Public methods

abstract int

Gets the alignment of the carousel.

abstract int

Gets the height of the carousel container.

abstract int

Gets the width of the carousel container.

abstract int

Gets the number of items in the carousel.

abstract boolean

Whether or not the orientation is horizontal.

Public methods

getCarouselAlignment

abstract int getCarouselAlignment()

Gets the alignment of the carousel.

getContainerHeight

abstract int getContainerHeight()

Gets the height of the carousel container.

getContainerWidth

abstract int getContainerWidth()

Gets the width of the carousel container.

getItemCount

abstract int getItemCount()

Gets the number of items in the carousel.

isHorizontal

abstract boolean isHorizontal()

Whether or not the orientation is horizontal.