Search in sources :

Example 1 with ChatListProcessor

use of im.actor.sdk.controllers.conversation.messages.content.preprocessor.ChatListProcessor in project actor-platform by actorapp.

the class MessagesFragment method onCreateDisplayList.

protected BindedDisplayList<Message> onCreateDisplayList() {
    BindedDisplayList<Message> displayList = messenger().getMessageDisplayList(peer);
    if (displayList.getListProcessor() == null) {
        displayList.setListProcessor(new ChatListProcessor(peer, this.getContext()));
    }
    notifyNewMessage(displayList);
    return displayList;
}
Also used : Message(im.actor.core.entity.Message) ChatListProcessor(im.actor.sdk.controllers.conversation.messages.content.preprocessor.ChatListProcessor)

Aggregations

Message (im.actor.core.entity.Message)1 ChatListProcessor (im.actor.sdk.controllers.conversation.messages.content.preprocessor.ChatListProcessor)1