Re: [android-developers] Inflating Views in Android
On Sat, Jan 19, 2013 at 4:42 AM, Arun Kutty <kutty.n.arun@gmail.com> wrote:
Suppose I have 5 Layout to be inflated at the start of the application . Is it a good practice to inflate the views in aysnc task and onPostExecute of Async task add that inflated view to the parent layout.
Why would you have 5 layouts to inflate? One Activity usually has one layout. If it's composed of 5 other layouts, you would <include> them within the main layout.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
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