Thursday, February 16, 2012

[android-developers] Whats the best way to implement the new fragment activity with a tabhost set up

So now there is the fragment activity what would be the best way to go
about implementing them within a tabhost.

I ask this because in reading the documentation they say that tabhost
has been depreciated in favor of fragments and I have yet to really
use the fragments
and would like to do so after getting a little more direction than
what I read over in the documentation.

Ideally I would like to set up something similar to a tabhost to show
three sub activities. One is a listview populated with data from
online, another would be a mapview populated with the same data, and
another with some more content from online.

How would I go about that? Do I just create my activities making them
extend fragmentActivity and use the tabhost like I used to or is there
another method to go about this
with the fragments that is easier on the OS.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate