I have a Tab bar application with two tabs named “Tab1” and “Tab2”.
Whenever I launch the application ,the Tab Bar runs and the “Tab1” in the Tab Bar get selected and it runs an Activity, because I have used setCurrentTab(0) method.
So how can I run the Second Tab named “Tab2” simultaneously along with the “Tab1” without clicking. Here I cannot use setCurrentTab(1),because I have already used setCurrentTab(0).
Any suggestions as to how I can do this?
first navigate to the second tab then come to the first tab.
setCurrentTab(1);
setCurrentTab(0);
so the second tab will be onPause state do whatever you want to do on second tab.