public abstract class SnackbarBaseViewHolder<T>
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected android.content.Context |
mContext |
protected T |
mData |
protected android.view.View |
mRootView |
| 构造器和说明 |
|---|
SnackbarBaseViewHolder(android.content.Context context) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
getData() |
android.view.View |
getRootView() |
SnackbarBaseViewHolder<T> |
inflateView(android.view.ViewGroup group) |
abstract void |
initView() |
abstract android.view.View |
onCreateView(android.content.Context context,
android.view.ViewGroup group) |
SnackbarBaseViewHolder<T> |
setData(T data) |
SnackbarBaseViewHolder<T> |
setType(int type) |
protected abstract void |
update(T bean) |
protected android.view.View mRootView
protected android.content.Context mContext
protected T mData
public abstract void initView()
public abstract android.view.View onCreateView(android.content.Context context,
android.view.ViewGroup group)
public SnackbarBaseViewHolder<T> inflateView(android.view.ViewGroup group)
public SnackbarBaseViewHolder<T> setData(T data)
public T getData()
public SnackbarBaseViewHolder<T> setType(int type)
protected abstract void update(T bean)
public android.view.View getRootView()