AlphaJumpAdapter
public
interface
AlphaJumpAdapter
| androidx.car.widget.AlphaJumpAdapter |
An interface that you can implement on your Adapter to enable support for Alpha-Jump.
Summary
Public methods | |
|---|---|
abstract
List<AlphaJumpBucket>
|
getAlphaJumpBuckets()
Generate and populate the buckets used to populate the alpha-jump menu. |
abstract
void
|
onAlphaJumpEnter()
Called every time the alpha-jump menu is entered. |
abstract
void
|
onAlphaJumpLeave(AlphaJumpBucket bucket)
Called every time the alpha-jump menu is left. |
Public methods
getAlphaJumpBuckets
public abstract List<AlphaJumpBucket> getAlphaJumpBuckets ()
Generate and populate the buckets used to populate the alpha-jump menu.
| Returns | |
|---|---|
List<AlphaJumpBucket> |
|
onAlphaJumpEnter
public abstract void onAlphaJumpEnter ()
Called every time the alpha-jump menu is entered.
onAlphaJumpLeave
public abstract void onAlphaJumpLeave (AlphaJumpBucket bucket)
Called every time the alpha-jump menu is left.
| Parameters | |
|---|---|
bucket |
AlphaJumpBucket: The AlphaJumpBucket that the user clicked on, and should be jumped to.
|
Annotations
Interfaces
Classes
- ActionListItem
- ActionListItem.ViewHolder
- AlphaJumpBucketer
- AlphaJumpBucketer.Bucket
- AlphaJumpOverlayView
- CarMenuItem
- CarMenuItem.Builder
- CarToolbar
- ColumnCardView
- ListItem
- ListItem.ViewHolder
- ListItemAdapter
- ListItemAdapter.BackgroundStyle
- ListItemProvider
- ListItemProvider.ListProvider
- PagedListView
- PagedListView.OnScrollListener
- PagedScrollBarView
- RadioButtonListItem
- RadioButtonListItem.ViewHolder
- SeekbarListItem
- SeekbarListItem.ViewHolder
- SubheaderListItem
- SubheaderListItem.ViewHolder
- SwitchListItem
- SwitchListItem.ViewHolder
- TextListItem
- TextListItem.ViewHolder
Enums