Hello developer,
I am using this package to build an chat app using openfire.
I am stuck at point
When I did login, I start receiving chats now when I am receiving chats i want show loader at screen, but I am not able to get any event which tells your all chat are fetched.
I have discovered inStanzaStream present at connection.dart it's giving me all msg stanza one by one but not able to know when all stanza received, so that I can remove loader from my screen.
Same thing for chatListStream present at chatManager.dart.
So I want to know by any how I get an event which tell your all stanza or msg are received/fetched from server.
Hello developer, I am using this package to build an chat app using openfire. I am stuck at point When I did login, I start receiving chats now when I am receiving chats i want show loader at screen, but I am not able to get any event which tells your all chat are fetched.
I have discovered inStanzaStream present at connection.dart it's giving me all msg stanza one by one but not able to know when all stanza received, so that I can remove loader from my screen. Same thing for chatListStream present at chatManager.dart.
So I want to know by any how I get an event which tell your all stanza or msg are received/fetched from server.
I hope I am clear.
Thanks