It took quite a while to search for stackoverflow and google and cannot find a guide to correctly explain to me how to implement tabs in my application.
I know that you should not use TabActivity, I also read about the recommendation not to use TabHost (at least this understanding). My interest is not only in changing the content, but also when actively changing tabs.
Example
MainActivity: - Tab1Activity - Tab2Activity - Tab3Activity
My goal is to create an application supported by a wide range of devices from api 8 to the latest. I am using android-support-v4.jar .
My second goal is to load activity into each tab, because at least two of them consume enough resources, and speed should always prevail.
May help me with guidance or explain the βrightβ way to achieve this.
rkmax source share