Is it possible to check if there are any activities below the current activity from my own application? Example:
ActivityMain // no more activities from our app in the stack
ActivityNext // one other activity from our app in the stack
I'm using the ActionBar, and let's say I'm at ActivityNext - I want to know if I should call setDisplayHomeAsUpEnabled() with a true or false value. If I'm the only activity in the stack, I want to pass in "false", otherwise "true".
I can try to book-keep this manually, but it wondering if there's a way to query the activity stack instead,
Thanks