简体   繁体   中英

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 mode "singleTask" however according to Android documentation this is not recommended! Does anyone had similar issues? Thanks!

在与startActivity()一起使用的Intent添加FLAG_ACTIVITY_REORDER_TO_FRONT

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM