title: Which lifecyce callback suits better connectin to servers/brokers
body: <p>In the App i am developing, I have to connect to a server/broker to send and receive some messages to and from the <code>broker</code>, and also I have to provide a callback synchronous and an asynchronous listener. As far as I understand, such operation should be better placed in <code>onResume()</code>. am I right? please guide me and confirm whether <code>onResume</code> is the best place to connect to servers/brokers with callbacks or they woud better be inside other lifecycle callback?</p>