Most visited

Recently visited

RecyclerView.OnChildAttachStateChangeListener

public static interface RecyclerView.OnChildAttachStateChangeListener

android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener
Known Indirect Subclasses


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

Summary

Public methods

abstract void onChildViewAttachedToWindow(View view)

Called when a view is attached to the RecyclerView.

abstract void onChildViewDetachedFromWindow(View view)

Called when a view is detached from RecyclerView.

Public methods

onChildViewAttachedToWindow

void onChildViewAttachedToWindow (View view)

Called when a view is attached to the RecyclerView.

Parameters
view View: The View which is attached to the RecyclerView

onChildViewDetachedFromWindow

void onChildViewDetachedFromWindow (View view)

Called when a view is detached from RecyclerView.

Parameters
view View: The View which is being detached from the RecyclerView

Hooray!