IAlphaJumpAdapter

interface IAlphaJumpAdapter
androidx.car.widget.IAlphaJumpAdapter

An interface that you can implement on your Adapter to enable support for Alpha-Jump.

Summary

Nested classes
abstract

A bucket represents a "button" in the alpha-jump menu.

Public methods
abstract MutableCollection<IAlphaJumpAdapter.Bucket!>!

Generate and populate the buckets used to populate the alpha-jump menu.

abstract Unit

Called every time the alpha-jump menu is entered.

abstract Unit

Called every time the alpha-jump menu is left.

Public methods

getAlphaJumpBuckets

abstract fun getAlphaJumpBuckets(): MutableCollection<IAlphaJumpAdapter.Bucket!>!

Generate and populate the buckets used to populate the alpha-jump menu.

onAlphaJumpEnter

abstract fun onAlphaJumpEnter(): Unit

Called every time the alpha-jump menu is entered.

onAlphaJumpLeave

abstract fun onAlphaJumpLeave(bucket: IAlphaJumpAdapter.Bucket!): Unit

Called every time the alpha-jump menu is left.

Parameters
bucket IAlphaJumpAdapter.Bucket!: The Bucket that the user clicked on, and should be jumped to.