[android-developers] Using setContentView to change info presentation
My users will want to toggle between two different "presentations" of
their current data selection, with differing layouts. I want to handle
this part of the app in a single activity, so am thinking of simply
calling setContentView to change the layout and then of course fill in
the data accordingly.
Are there any drawbacks with this approach? It does not have to be
particularly speedy. Also, exactly when does the window get redrawn in
this case? When the method that does the work (i.e., an event
callback) returns?
--
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