public interface RecyclerBinderAdapterDelegate<T extends RecyclerBinderViewHolder>
Modifier and Type | Method and Description |
---|---|
long |
getItemId(int position)
The same function as
androidx.recyclerview.widget.RecyclerView.Adapter#getItemId(int) . |
boolean |
hasStableIds()
The same function as
androidx.recyclerview.widget.RecyclerView.Adapter#hasStableIds() . |
void |
onBindViewHolder(T viewHolder,
int position,
ComponentTree componentTree,
RenderInfo renderInfo)
The same function as
androidx.recyclerview.widget.RecyclerView.Adapter#onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder,
int) but with two additional parameters, and , which
are useful to the LithoView. |
T |
onCreateViewHolder(ViewGroup parent,
int viewType)
The same function as
androidx.recyclerview.widget.RecyclerView.Adapter#onCreateViewHolder(ViewGroup, int) . |
void |
onViewRecycled(T viewHolder)
The same function as
androidx.recyclerview.widget.RecyclerView.Adapter#onViewRecycled(androidx.recyclerview.widget.RecyclerView.ViewHolder) . |
T onCreateViewHolder(ViewGroup parent, int viewType)
androidx.recyclerview.widget.RecyclerView.Adapter#onCreateViewHolder(ViewGroup, int)
.void onBindViewHolder(T viewHolder, int position, ComponentTree componentTree, RenderInfo renderInfo)
androidx.recyclerview.widget.RecyclerView.Adapter#onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder,
int)
but with two additional parameters, and , which
are useful to the LithoView. It will be called after the LithoView has been attached to the
screen.void onViewRecycled(T viewHolder)
androidx.recyclerview.widget.RecyclerView.Adapter#onViewRecycled(androidx.recyclerview.widget.RecyclerView.ViewHolder)
.boolean hasStableIds()
androidx.recyclerview.widget.RecyclerView.Adapter#hasStableIds()
.long getItemId(int position)
androidx.recyclerview.widget.RecyclerView.Adapter#getItemId(int)
.