Item - public abstract static class FastAdapter.ViewHolder<Item extends IItem>
extends RecyclerView.ViewHolder
| Constructor and Description |
|---|
ViewHolder(android.view.View itemView) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachToWindow(Item item)
View got attached to the window
|
abstract void |
bindView(Item item,
java.util.List<java.lang.Object> payloads)
binds the data of this item onto the viewHolder
|
void |
detachFromWindow(Item item)
View got detached from the window
|
boolean |
failedToRecycle(Item item)
View is in a transient state and could not be recycled
|
abstract void |
unbindView(Item item)
View needs to release resources when its recycled
|
public abstract void bindView(Item item, java.util.List<java.lang.Object> payloads)
public abstract void unbindView(Item item)
public void attachToWindow(Item item)
public void detachFromWindow(Item item)
public boolean failedToRecycle(Item item)