use of im.actor.sdk.controllers.conversation.messages.content.preprocessor.PreprocessedList in project actor-platform by actorapp.
the class MessagesAdapter method onBindViewHolder.
@Override
public void onBindViewHolder(AbsMessageViewHolder dialogHolder, int index, Message item) {
Message prev = null;
Message next = null;
if (index > 1) {
next = getItem(index - 1);
}
if (index < getItemCount() - 1) {
prev = getItem(index + 1);
}
PreprocessedList list = ((PreprocessedList) getPreprocessedList());
dialogHolder.bindData(item, prev, next, readDate, receiveDate, list.getPreprocessedData()[index]);
}
Aggregations