I have implemented ROOM Database in one of my Chat app. For chat I have used XMPP server. I want to get two type of data at the same time in side the loop. Once api is call completed and get the message list from server, I want update those latest time and if any unread message statue in the list...