Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question for Activity Switching.  RSS feed

 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to know something more about Activity Switching.
Lets say we have four Activity. Activity A,B,C,D. User is navigating in this manner. A -> B -> C ->D.

Now I want to do something like this. Now user will go to Activity B. Its decided already. I want to jump to activity D to A on press of back button without creating new instance of B. I can use the method onBackPressed that I know. But the question is 'without creating new object' .

You can some other way too of doing this.
Please reply.
 
Do you pee on your compost? Does this tiny ad?
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!