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

PagedListView.OnScrollListener

public static abstract class PagedListView.OnScrollListener
extends Object

java.lang.Object
   ↳ androidx.car.widget.PagedListView.OnScrollListener


Used to listen for PagedListView scroll events.

Summary

Public constructors

PagedListView.OnScrollListener()

Public methods

void onAlphaJumpButtonClicked()

Called when the alpha jump button is clicked.

void onGestureDown()

Called when scrolling to the next page via down gesture

void onGestureUp()

Called when scrolling to the previous page via up gesture

void onReachBottom()

Called when menu reaches the bottom

void onScrollDownButtonClicked()

Called when scroll down button is clicked

void onScrollStateChanged(RecyclerView recyclerView, int newState)

See RecyclerView.OnScrollListener

void onScrollUpButtonClicked()

Called when scroll up button is clicked

void onScrolled(RecyclerView recyclerView, int dx, int dy)

Called when RecyclerView.OnScrollListener#onScrolled is called.

Inherited methods

Public constructors

PagedListView.OnScrollListener

PagedListView.OnScrollListener ()

Public methods

onAlphaJumpButtonClicked

void onAlphaJumpButtonClicked ()

Called when the alpha jump button is clicked.

onGestureDown

void onGestureDown ()

Called when scrolling to the next page via down gesture

onGestureUp

void onGestureUp ()

Called when scrolling to the previous page via up gesture

onReachBottom

void onReachBottom ()

Called when menu reaches the bottom

onScrollDownButtonClicked

void onScrollDownButtonClicked ()

Called when scroll down button is clicked

onScrollStateChanged

void onScrollStateChanged (RecyclerView recyclerView, 
                int newState)

See RecyclerView.OnScrollListener

Parameters
recyclerView RecyclerView

newState int

onScrollUpButtonClicked

void onScrollUpButtonClicked ()

Called when scroll up button is clicked

onScrolled

void onScrolled (RecyclerView recyclerView, 
                int dx, 
                int dy)

Called when RecyclerView.OnScrollListener#onScrolled is called. See RecyclerView.OnScrollListener

Parameters
recyclerView RecyclerView

dx int

dy int