Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

belongs to Maven artifact androidx.car:car:1.0.0-alpha5

PagedScrollBarView.PaginationListener

public static interface PagedScrollBarView.PaginationListener

androidx.car.widget.PagedScrollBarView.PaginationListener


Listener for when the list should paginate.

Summary

Constants

int PAGE_DOWN

int PAGE_UP

Public methods

abstract void onAlphaJump()

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 void onPaginate(int direction)

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

Constants

PAGE_DOWN

public static final int PAGE_DOWN

Constant Value: 1 (0x00000001)

PAGE_UP

public static final int PAGE_UP

Constant Value: 0 (0x00000000)

Public methods

onAlphaJump

public abstract void onAlphaJump ()

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

public abstract void onPaginate (int direction)

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

Parameters
direction int