My app has a tabHost that handles 5 tabs that loads properly their activities. However, app starts with tab1 selected and tab2 and following ones are not loaded until user click into related tab! How could I previously load content to other tabs before its selection? Thank you
Share
I think you can’t preload an Activity. But you could put all the views in the same activity. I use TabHost in some of my apps and you can simply define the different tab content in the xml. This way you don’t have to start a new activity for each tab and everything gets created at once!
Depending on what kind of application you are developing, this could be a solution.