开发者

Navigation between screens (Activities) (Android 2.2)

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().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜