public class BaseConversationProvider extends java.lang.Object implements IViewProvider<BaseUiConversation>
Constructor and Description |
---|
BaseConversationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
bindViewHolder(ViewHolder holder,
BaseUiConversation uiConversation,
int position,
java.util.List<BaseUiConversation> list,
IViewProviderListener<BaseUiConversation> listener)
根据数据源绑定视图
|
boolean |
isItemViewType(BaseUiConversation item) |
ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
public ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
in interface IViewProvider<BaseUiConversation>
public boolean isItemViewType(BaseUiConversation item)
isItemViewType
in interface IViewProvider<BaseUiConversation>
item
- 数据public void bindViewHolder(ViewHolder holder, BaseUiConversation uiConversation, int position, java.util.List<BaseUiConversation> list, IViewProviderListener<BaseUiConversation> listener)
IViewProvider
bindViewHolder
in interface IViewProvider<BaseUiConversation>
holder
- 视图uiConversation
- 数据position
- 位置