public interface OnBindViewHolderListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBindViewHolder(RecyclerView.ViewHolder viewHolder,
int position,
java.util.List<java.lang.Object> payloads)
is called in onBindViewHolder to bind the data on the ViewHolder
|
boolean |
onFailedToRecycleView(RecyclerView.ViewHolder viewHolder,
int position)
is called when the ViewHolder is in a transient state.
|
void |
onViewAttachedToWindow(RecyclerView.ViewHolder viewHolder,
int position)
is called in onViewAttachedToWindow when the view is detached from the window
|
void |
onViewDetachedFromWindow(RecyclerView.ViewHolder viewHolder,
int position)
is called in onViewDetachedFromWindow when the view is detached from the window
|
void |
unBindViewHolder(RecyclerView.ViewHolder viewHolder,
int position)
is called in onViewRecycled to unbind the data on the ViewHolder
|
void onBindViewHolder(RecyclerView.ViewHolder viewHolder,
int position,
java.util.List<java.lang.Object> payloads)
viewHolder - the viewHolder for the type at this positionposition - the position of this viewHolderpayloads - the payloads provided by the adaptervoid unBindViewHolder(RecyclerView.ViewHolder viewHolder,
int position)
viewHolder - the viewHolder for the type at this positionposition - the position of this viewHoldervoid onViewAttachedToWindow(RecyclerView.ViewHolder viewHolder,
int position)
viewHolder - the viewHolder for the type at this positionposition - the position of this viewHoldervoid onViewDetachedFromWindow(RecyclerView.ViewHolder viewHolder,
int position)
viewHolder - the viewHolder for the type at this positionposition - the position of this viewHolderboolean onFailedToRecycleView(RecyclerView.ViewHolder viewHolder,
int position)
viewHolder - the viewHolder for the view which failed to recycle