Android Activities for Chat Application: Which flags or lauchmodes for Contact List (Roster) and Chat Conversation? -
i'm making chat app using asmack , i'm using activity login, b contact list , c conversation activity(where chat). is:
a → b → c
on activity b i've set android:launchmode ="singletask" dosen't create new instance everytime press button on activity c , far works.
my goal create new instances of c , @ same time not destroy instances when go b. normal chats do. example:
a → b → c1
a → c1 → b → c2
and able call c1 , not create new instance. example:
a → c2 → b → c1
i've try using different intent flags , launchmodes , far failed. idea on how achieve this?
Comments
Post a Comment