Wednesday, July 6, 2011

[android-developers] Converting to Fragments

I have an app which currently builds up a stack of activities as the
user drills down into the data. It would be an ideal candidate for using
side-by-side fragments when run on a tablet (in landscape). But when I
finally got around the other day to looking at what would be necessary
to convert all that code to a fragment-based design, it looks a lot more
complicated than I had hoped; more of a full rewrite of a lot of the
structure. Not to mention continuing to support smartphone screens with
the same app.

So has anyone had success in morphing an existing Android 2.x app to run
using fragments on 3.x without having to start with too much of a clean
sheet? I could see some real ugly code and kludges creeping in if I try
to force fragments into what I currently have.

Doug Gordon

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