On Sat, Jan 19, 2013 at 4:42 AM, Arun Kutty <kutty.n.a...@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 <http://sites.google.com/site/rezmobileapps/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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to