public interface SectionIndicator<T>
RecyclerView is currently in. This is for RecyclerViews whose adapters
implement the SectionIndexer interface.| Modifier and Type | Method and Description |
|---|---|
void |
animateAlpha(float targetAlpha)
Method for animating the alpha of the indicator
|
void |
setProgress(float progress)
Sets the progress of the indicator
|
void |
setSection(T section)
Allows the setting of section types in the indicator.
|
void setProgress(float progress)
progress - fraction from [0 to 1] representing progress scrolled through a RecyclerViewvoid setSection(T section)
section - the current section to which the list is scrolledvoid animateAlpha(float targetAlpha)
targetAlpha - alpha to animate towards