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.
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. |
void onChildViewAttachedToWindow (View view)
Called when a view is attached to the RecyclerView.
Parameters | |
---|---|
view |
View :
The View which is attached to the RecyclerView
|
void onChildViewDetachedFromWindow (View view)
Called when a view is detached from RecyclerView.
Parameters | |
---|---|
view |
View :
The View which is being detached from the RecyclerView
|