public abstract class BaseItemProvider<T,V extends BaseViewHolder>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
android.content.Context |
mContext |
java.util.List<T> |
mData |
| Constructor and Description |
|---|
BaseItemProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
convert(V helper,
T data,
int position) |
abstract int |
layout() |
void |
onClick(V helper,
T data,
int position) |
boolean |
onLongClick(V helper,
T data,
int position) |
abstract int |
viewType() |
public android.content.Context mContext
public java.util.List<T> mData