Hi, I have been stuggling with that one for a while now. I'm sure there is some built-in mechanism in Android for what I'm trying to achieve, however, I couldn't find it.
Basically, I have an activity that displays a few views, one of them being a ListView. To populate the ListView I need to call a web service, it usually takes about 2 secs for the server to return the response. Hence, by the time the response comes back, and the application parses it, the complier throws a NullPointerException in the adapter class for the ListView. Could you advice me on a good practice of how to accomplish that? Thanks, Yav --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---