title: How to implement message listener in xmpp asmack?
body: <p>I have created 3 activities. First is <strong>loginactivity</strong> to check login details.After Login is successfull it jumps to <strong>displayactivity</strong> which i used to show contacts of a person in a listview.After selecting any contact from listview it jumps to 3 activity which is <strong>messageactivity</strong> to show the chatting between 2 users. Now my question is where and how i implement messageListener So that i can show messages received from another user in <strong>messageactivity</strong> of a particular user?</p>