If you just need your tabs *instantiated *(as a Java Object), you can do 
this in your activity. Pre-instantiate all 4 of them (new MyFragment() 4 
times), add them to a list and use this list in the FragmentPagerAdapter's *
'getItem(int)*' method. 

If you need your MyFragments to be *attached* all at once, then i can't help 
you... :)
There probably some way to do (some of) the FragmentPagerAdapter's work 
beforehand (adding your fragments to a transaction and committing it), but 
that would be quite complex. I would not advise this.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to