The Android Developer Challenge is back! Submit your idea before December 2.

PaginationListener

interface PaginationListener
androidx.car.widget.PagedScrollBarView.PaginationListener

Listener for when the list should paginate.

Summary

Constants

static Int

static Int

Public methods

abstract Unit

Called when the 'alpha jump' button is clicked and the linked view should switch into alpha jump mode, where we display a list of buttons to allow the user to quickly scroll to a certain point in the list, bypassing a lot of manual scrolling.

abstract Unit
onPaginate(direction: Int)

Called when the linked view should be paged in the given direction

Constants

PAGE_DOWN

static val PAGE_DOWN: Int
Value: 1

PAGE_UP

static val PAGE_UP: Int
Value: 0

Public methods

onAlphaJump

abstract fun onAlphaJump(): Unit

Called when the 'alpha jump' button is clicked and the linked view should switch into alpha jump mode, where we display a list of buttons to allow the user to quickly scroll to a certain point in the list, bypassing a lot of manual scrolling.

onPaginate

abstract fun onPaginate(direction: Int): Unit

Called when the linked view should be paged in the given direction