I have application with several screens. For each screen I have created separate Activity. Question: how to navigate from one screen to another screen so that new activity is not created if such activity exists on "back stack"? My idea was to use launch开发者_StackOverflow社区 mode "singleTask" however according to Android documentation this is not recommended! Does anyone had similar issues? Thanks!
Add FLAG_ACTIVITY_REORDER_TO_FRONT
in the Intent
you use with startActivity()
.
精彩评论