com.google.android.material.slider

Annotations

TickVisibilityMode

Mode to specify the visibility of tick marks.

Interfaces

LabelFormatter

Interface definition for applying custom formatting to the text displayed inside the bubble shown when a slider is used in discrete mode.

RangeSlider.OnChangeListener

Interface definition for a callback invoked when a slider's value is changed.

RangeSlider.OnSliderTouchListener

Interface definition for a callback invoked when a slider's value is changed.

Slider.OnChangeListener

Interface definition for a callback invoked when a slider's value is changed.

Slider.OnSliderTouchListener

Interface definition for callbacks invoked when a slider's touch event is being started/stopped.

SliderOrientation

Interface definition for slider's orientation.

Classes

BasicLabelFormatter

A simple implementation of the LabelFormatter interface, that limits the number displayed inside a discrete slider's bubble to three digits, and a single-character suffix that denotes magnitude (e.g.: 1.5K, 2.2M, 1.3B, 2T).

RangeSlider

A range slider can be used to select from either a continuous or a discrete set of values.

Slider

A widget that allows picking a value within a given range by sliding a thumb along a horizontal line.