try moving "mAdapter.setIcons(icons);" to onPostExecute (you'll have to 
make icons a member of your asynctask)

On Monday, November 5, 2012 10:40:14 AM UTC+2, Bajrang Asthana wrote:
>
> Thanks Piren!
>
> Actually in doInBackground method - I am fetching icons of all installed 
> apps and replacing the default icon( which I had set while creating list to 
> show all installed apps) with new one. Once I am done with this I am simply 
> notifying to adapter for data set change inside the postExecute() method. I 
> am using approach suggested by someone in below site -
>
> http://impressive-artworx.de/2011/list-all-installed-apps-in-style/
>
>
>

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