public class PrivateConversationProvider extends BaseConversationProvider
Constructor and Description |
---|
PrivateConversationProvider() |
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) |
onCreateViewHolder
public boolean isItemViewType(BaseUiConversation item)
isItemViewType
in interface IViewProvider<BaseUiConversation>
isItemViewType
in class BaseConversationProvider
item
- 数据public void bindViewHolder(ViewHolder holder, BaseUiConversation uiConversation, int position, java.util.List<BaseUiConversation> list, IViewProviderListener<BaseUiConversation> listener)
IViewProvider
bindViewHolder
in interface IViewProvider<BaseUiConversation>
bindViewHolder
in class BaseConversationProvider
holder
- 视图uiConversation
- 数据position
- 位置