OnScrollListener

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

Used to listen for PagedListView scroll events.

Summary

Public constructors

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 scrolling to the next page via down gesture

open Unit

Called when scroll down button is clicked

open Unit

Called when menu reaches the bottom

open Unit

Called when the alpha jump button is clicked.

open Unit

Called when scrolling to the previous page via up gesture

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

See RecyclerView.

Public constructors

<init>

OnScrollListener()

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

onGestureDown

open fun onGestureDown(): Unit

Called when scrolling to the next page via down gesture

onScrollDownButtonClicked

open fun onScrollDownButtonClicked(): Unit

Called when scroll down button is clicked

onReachBottom

open fun onReachBottom(): Unit

Called when menu reaches the bottom

onAlphaJumpButtonClicked

open fun onAlphaJumpButtonClicked(): Unit

Called when the alpha jump button is clicked.

onGestureUp

open fun onGestureUp(): Unit

Called when scrolling to the previous page via up gesture

onScrollStateChanged

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

See RecyclerView.OnScrollListener