Smack loss of information

I use smack4.1 in android, when I switch network, people send message to me, I don’t get the corresponding information after reconnection.Is my configuration errors? How do I configure? thank you!

Hello, Keita:

 Could you please send a smack demo to me(49186456@qq.com),  I'm encounter some problem on build the env.

Thanks a lot!