Re: [android-developers] [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-16 Thread Ralph Bergmann | the4thFloor.eu
Am 15.09.11 12:59, schrieb leson: How can I make the ViewPager/TabHost attach all tabs immediately? I think you can't. You have to choose another holder for your tabs views. I recommend the ViewAnimator. see also:

[android-developers] [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-15 Thread leson
I'm building a tabbed UI in Android based on the supportv4 demo FragmentTabsPager.java. After adding my tabs (there are four of them) only the current tab and the one next to it is attached (and thus not instatiated yet I guess). The other two tabs are attached only when I swipe to or tap them.