public abstract class

PagedListView.OnScrollListener

extends java.lang.Object

 java.lang.Object

↳androidx.car.widget.PagedListView.OnScrollListener

Subclasses:

DropShadowScrollListener

Overview

Used to listen for PagedListView scroll events.

Summary

Constructors
publicOnScrollListener()

Methods
public voidonReachBottom()

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

public voidonScrollDownButtonClicked()

Called when scroll down button is clicked

public voidonScrolled(RecyclerView recyclerView, int dx, int dy)

Called when RecyclerView.OnScrollListener#onScrolled is called.

public voidonScrollStateChanged(RecyclerView recyclerView, int newState)

See RecyclerView.OnScrollListener

public voidonScrollUpButtonClicked()

Called when scroll up button is clicked

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public OnScrollListener()

Methods

public void onReachBottom()

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

public void onScrollUpButtonClicked()

Called when scroll up button is clicked

public void onScrollDownButtonClicked()

Called when scroll down button is clicked

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

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

public void onScrollStateChanged(RecyclerView recyclerView, int newState)

See RecyclerView.OnScrollListener