Brill,

I'm not sure if this is what you're trying to do but I'm using
fragments when switching between tabs.

Essentially I have each added tab use a generic content_fragment as
the content.  then the changeTab looks at which tab is selected and
does all the fun Fragment transactions.  An odd behavior that may just
be due to my implementation is that on createview you have to set the
current tab to 1 and then back to 0 otherwise it would load the first
fragment.


Let me know if this sounds like what you're trying to do and need
examples.

Cheers,

Joachim






On May 4, 9:02 am, Brill Pappin <[email protected]> wrote:
> I have a situation where I have a perfect job for Tabs, but want the tab
> container to actually control the view of v4 fragments instead...
> However the TabHost build-out requires the container inside the same layout.
>
> Has anyone built a component that works like tabs but can handle fragments?
>
> - Brill

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

Reply via email to