I've been working on private chat for quite a while now and can't seem to find any answers on what exactly each object does. I have also read the documentation and its simply too brief for a new quickblox user to follow. The main objects I'm referring to are QBPrivateChatManager, QBPrivateChatManagerListener and QBMessageListener.
For example, does each chat need to have its own QBMessageListener or can we have one to handle all chats? Where should we put each of the objects?- should the QBPrivateChatManager be on the chat dialogs page? I think these are questions that should be answered within the XMPP Chat Sample...
It would be really helpful if somebody could give a deeper background as to how everything links together to speed up development while using quickblox. As it stands, the documentation, XMPP Chat Sample and Q-Municate don't explain this very well.
@Harmeet, yes, this is correct. in this listener's callbacks you get message and chat, that is enough for correct managing messages in app