public static interface RecyclerView.RecyclerListener
Modifier and Type | Method and Description |
---|---|
void |
onViewRecycled(RecyclerView.ViewHolder holder)
This method is called whenever the view in the ViewHolder is recycled.
|
void onViewRecycled(RecyclerView.ViewHolder holder)
RecyclerView.ViewHolder.getAdapterPosition()
to get
its adapter position.holder
- The ViewHolder containing the view that was recycled