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
I have a main activity from where I will be switching from one activity
Share
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.