Hello, I want to load a list activity from a xml file. I have done it but i would like to optimize load of data. I would like to dislplay a message "Loading..." to prevent the user. I have found progress bar example of but i don't know when to display it and how to know the data ar loaded. I create my listview in the onCreate method. In this method i also load the xml file and apply to the list view with the setAdapter function. I think data are diplayed to user just at the end of the onCreate method so i can't display a message to say data are loading because data are alredy loaded.
So i just want to know how to load data for a list view and prevent the user data is loading. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

