Hi,

I've just started playing around with fragments to make some apps work
better with tablets.

I've got this working nicely with my SGS and Xoom using just the
compatibility package (trying to mix both resulted in crashes as I'm using
the same fragment classes for both), which means I had to extend
FragmentActivity for all my Activities and removed any references to
android.app.Fragment in favour of the compatibility library version.

I was wondering if this is the best way to implement fragments, as even API
11+ uses the compatibility package? (It's certainly the cleanest way and no
code duplication)

Also are there any implications/loss of features etc by doing this, or are
the packages/functionality identical?

Thanks!
Phil.

-- 
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