0

I have a main activity from where I will be switching from one activity to another..So i don't want to re initialize every time..After the first time of creation , the same activity should be called without having to create it over and over again..how do I do this? #newbie-android

Nikhil
  • 2,168
  • 6
  • 33
  • 51

1 Answers1

1

What you want to do is simply start both your activities and switch between them by bringing them to the foreground. You should refer to this question for a possible solution. This documentation might also help.

Community
  • 1
  • 1
Brian
  • 7,955
  • 16
  • 66
  • 107