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 wi开发者_如何学Cthout having to create it over and over again..how do I do this? #newbie-android
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.
精彩评论