RecyclerToListViewScrollListener

class RecyclerToListViewScrollListener

Converts androidx.recyclerview.widget.RecyclerView.OnScrollListener events to scroll events.

Requires that the recycler view be using a LinearLayoutManager subclass.

Constructors

Link copied to clipboard
open fun RecyclerToListViewScrollListener(scrollListener: OnScrollListener)

Functions

Link copied to clipboard
open fun onScrolled(    recyclerView: RecyclerView,     dx: Int,     dy: Int)
Link copied to clipboard
open fun onScrollStateChanged(recyclerView: RecyclerView, newState: Int)

Properties

Link copied to clipboard
val UNKNOWN_SCROLL_STATE: Int