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

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 onReachBottom()

Called when the PagedListView has been scrolled so that the last item is completely visible.

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

public PagedListView.OnScrollListener ()

Public methods

onReachBottom

public void onReachBottom ()

Called when the PagedListView has been scrolled so that the last item is completely visible.

onScrollDownButtonClicked

public void onScrollDownButtonClicked ()

Called when scroll down button is clicked

onScrollStateChanged

public void onScrollStateChanged (RecyclerView recyclerView, 
                int newState)

See RecyclerView.OnScrollListener

Parameters
recyclerView RecyclerView

newState int

onScrollUpButtonClicked

public void onScrollUpButtonClicked ()

Called when scroll up button is clicked

onScrolled

public 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