IAlphaJumpAdapter.Bucket
public
static
interface
IAlphaJumpAdapter.Bucket
androidx.car.widget.IAlphaJumpAdapter.Bucket |
A bucket represents a "button" in the alpha-jump menu.
Summary
Public methods | |
---|---|
abstract
int
|
getIndex()
Return the index of the first item that this bucket matches in the list. |
abstract
CharSequence
|
getLabel()
Return the label for this bucket, that is displayed at the text to the user. |
abstract
boolean
|
isEmpty()
Return true if the bucket is empty (and therefore the button should be displayed disabled). |
Public methods
getIndex
public abstract int getIndex ()
Return the index of the first item that this bucket matches in the list.
Returns | |
---|---|
int |
getLabel
public abstract CharSequence getLabel ()
Return the label for this bucket, that is displayed at the text to the user.
Returns | |
---|---|
CharSequence |
isEmpty
public abstract boolean isEmpty ()
Return true if the bucket is empty (and therefore the button should be displayed disabled).
Returns | |
---|---|
boolean |
Annotations
Interfaces
Classes
- ActionBar
- AlphaJumpBucketer
- AlphaJumpBucketer.Bucket
- AlphaJumpOverlayView
- ColumnCardView
- ListItem
- ListItem.ViewHolder
- ListItemAdapter
- ListItemAdapter.BackgroundStyle
- ListItemProvider
- ListItemProvider.ListProvider
- PagedListView
- PagedListView.OnScrollListener
- PagedScrollBarView
- PagedSmoothScroller
- PagedSnapHelper
- SeekbarListItem
- SeekbarListItem.ViewHolder
- SubheaderListItem
- SubheaderListItem.ViewHolder
- TextListItem
- TextListItem.ViewHolder