[android-developers] Android Loading listview items from service results in hang

2009-05-23 Thread Isaac Waller
Hello, In my Android application, I have a ListActivity. This ListActivity uses a SimpleAdapter that I fill with items from my service. So, in my code, I do: MySuperCoolService.Binder serviceBinder = null; private ServiceConnection serviceConnection = new ServiceConnection() { public

[android-developers] Android Loading listview items from service results in hang

2009-05-23 Thread Jason Proctor
If I do this, then I lose the benefits of running it in the UI thread. I want to hang my application until it gets these items, because if not, my view with id=android:empty shows up for a second, and that looks ugly. So put in another view, one that's not ugly. how about some kind of progress