Write your adapter code in a separate handler thread. HTH
On Jan 16, 10:55 am, "Ivan Soto" <[email protected]> wrote: > Hi I'm trying to display a Loading dialog, however it shows up AFTER it > shows the listadapter. this is the code: > > showDialog(DIALOG2_KEY); > > TwitAdapter twadapter = new TwitAdapter( > this, > R.layout.list_item , > fillTwitter("http://twitter.com/statuses/public_timeline.xml?count=10") > ); > setListAdapter(twadapter); > removeDialog(DIALOG2_KEY); > > any idea? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

