OnChildAttachStateChangeListener

A Listener interface that can be attached to a RecylcerView to get notified whenever a ViewHolder is attached to or detached from RecyclerView.

Inheritors

Functions

Link copied to clipboard
abstract fun onChildViewAttachedToWindow(@NonNull view: @NonNull View)
Called when a view is attached to the RecyclerView.
Link copied to clipboard
abstract fun onChildViewDetachedFromWindow(@NonNull view: @NonNull View)
Called when a view is detached from RecyclerView.