use of net.iGap.realm.RealmRoomMessage.makeUnreadMessage in project iGap-Android by KianIranian-STDG.
the class FragmentChat method unreadLayoutMessage.
/**
* make unread layout message
*/
private void unreadLayoutMessage() {
int unreadMessageCount = unreadCount;
if (unreadMessageCount > 0) {
RealmRoomMessage unreadMessage = RealmRoomMessage.makeUnreadMessage(unreadMessageCount);
mAdapter.add(0, new UnreadMessage(mAdapter, FragmentChat.this).setMessage(MessageObject.create(unreadMessage)).withIdentifier(SUID.id().get()));
isShowLayoutUnreadMessage = true;
}
}
Aggregations