SupportObserverProxy

class SupportObserverProxy(adapterDataObserver: RecyclerView.AdapterDataObserver, additionalViewAdapterViewCount: Int) : RecyclerView.AdapterDataObserver

Default implementation of an observer proxy for relying recycler adapter updates

Since

v1.3.0

Parameters

adapterDataObserver
additionalViewAdapterViewCount

number of additional views that could be rendered

See also

Constructors

Link copied to clipboard
constructor(adapterDataObserver: RecyclerView.AdapterDataObserver, additionalViewAdapterViewCount: Int)

Functions

Link copied to clipboard
open override fun onChanged()
Link copied to clipboard
open override fun onItemRangeChanged(positionStart: Int, itemCount: Int)
open override fun onItemRangeChanged(positionStart: Int, itemCount: Int, payload: Any?)
Link copied to clipboard
open override fun onItemRangeInserted(positionStart: Int, itemCount: Int)
Link copied to clipboard
open override fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int)
Link copied to clipboard
open override fun onItemRangeRemoved(positionStart: Int, itemCount: Int)