Can anyone suggest me how can I use a refresh icon in my activity? I mean to say that my activity takes time to retrieve data from the server during that time I want to show the refreshed logo moving indicating the user that data retrieval is still in progress. So can anyone suggest to me how that can be done? If possible with an example.
Share
Use AsyncTask with ProgressDialog.
For more information, here is a great article given: https://sites.google.com/site/androidhowto/how-to-1/asynctasks-with-progressdialogs