public interface IContainerItemProvider<T>
限定符和类型 | 接口和说明 |
---|---|
static interface |
IContainerItemProvider.ConversationProvider<T extends Parcelable>
会话适配器。
|
static class |
IContainerItemProvider.MessageProvider<K extends MessageContent>
消息内容适配器。
|
限定符和类型 | 方法和说明 |
---|---|
void |
bindView(View v,
int position,
T data)
为View绑定数据。
|
View |
newView(Context context,
ViewGroup group)
创建新View。
|
View newView(Context context, ViewGroup group)
context
- 当前上下文。group
- 创建的新View所附属的父View。void bindView(View v, int position, T data)
v
- 需要绑定数据的View。position
- 绑定的数据位置。data
- 绑定的数据。Copyright © 2020 RongCloud. All Rights Reserved.