I have an Activity, A, instantiated 3 times for example (A1, A2, A3) in different parts of the back stack.
If my stack contains the following example: A1 -> B -> C -> A2 -> D -> A3 -> E, how can i specificall开发者_C百科y retrieve A1 or A2?
I am aware of FLAG_ACTIVITY_CLEAR_TOP but this only works well when there's only 1 instance of your Activity in your back stack. In my case it has only retrieved A3 when I've set this flag. 
I am using the 2.3 SDK.
Thanks for any help!
Easiest: keep them separately in a Set (adding it in onCreate()/removing in onDestroy()). Really. You can keep reference to the set in Application .... Really.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论