I am reviewing code of an application that contains only one activity but more than 12 screen application flows with change in layout of this activity. I need your suggestion that it is better way to work or not ??
There is one train of thought that says 'If it ain't broke, don't fix it' - so the question would be, is it working? If it is, don't try changing it - you risk breaking it.
On the other hand, it probably isn't ideal since it isn't 'the Android way' really - but it might save some issues regarding starting activities and waiting for their results, threading, persistent state during pause and resume, etc. There's something to be said for minimizing maintenance by keeping everything in the same activity.
My suggestion, therefore, is to leave it alone, unless it is specifically causing you some problems.
-- 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

