android - Position of the activity in the activity stack -


am having applications contains activity a,b,c , activity has been launched launcher , b , c b. having button in c on clicking button should tell position of activity c in activity stack . ex a-b->c means c @ 3 position of activity stack.. how find ?

thanks in advance.

there no other way know this, because of how tasks designed. see this , this solution keep track of activities storing them in array of activities. hope helps.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -