Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

OnScrollListener

abstract class OnScrollListener
kotlin.Any
   ↳ androidx.car.widget.PagedListView.OnScrollListener

Used to listen for PagedListView scroll events.

Summary

Public constructors

Used to listen for PagedListView scroll events.

Public methods
open Unit
onScrolled(recyclerView: RecyclerView!, dx: Int, dy: Int)

Called when RecyclerView.

open Unit

Called when scroll up button is clicked

open Unit

Called when scroll down button is clicked

open Unit

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

open Unit
onScrollStateChanged(recyclerView: RecyclerView!, newState: Int)

See RecyclerView.

Public constructors

<init>

OnScrollListener()

Used to listen for PagedListView scroll events.

Public methods

onScrolled

open fun onScrolled(recyclerView: RecyclerView!, dx: Int, dy: Int): Unit

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

onScrollUpButtonClicked

open fun onScrollUpButtonClicked(): Unit

Called when scroll up button is clicked

onScrollDownButtonClicked

open fun onScrollDownButtonClicked(): Unit

Called when scroll down button is clicked

onReachBottom

open fun onReachBottom(): Unit

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

onScrollStateChanged

open fun onScrollStateChanged(recyclerView: RecyclerView!, newState: Int): Unit

See RecyclerView.OnScrollListener