Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show Back Stack of Android

For better understanding the behavior of Android I'd like to learn more about the back stack concept. Is there a way to list all activities as they are ordered in back stack. This should also includes all other running tasks.

like image 643
BREMI Avatar asked May 17 '12 12:05

BREMI


1 Answers

I have found this information is available in Android Studio (0.5.1): View->Tool Windows->Android. Then on the left hand side select the System Information Icon and from it's drop down select 'Graphics State'. This will dump show a lot of information, but if you scroll down to 'View hierarchy:' you will see the current stack of views i.e. the 'Back Stack'.

The OP did ask about running tasks, so instead if selecting 'Graphics State' select 'Activity Manager State' and you'll find more information (although I found it simpler to view the information in 'Graphics State' for specifically looking at what Activities are in the back stack).

like image 66
Nebu Avatar answered Nov 18 '22 07:11

Nebu