Reputation: 31
I am downloading an array of photos from the net and showing a ProgressDialog with a loading circle. But the loading circle will be lag / hang while the process is not finish. How to make the loading running smoothly?
Thanks.
Upvotes: 0
Views: 956
Reputation: 12504
Show a indeterminate ProgressDialog object. Then start a thread and download the images using the thread. Dismiss the ProgressDialog after the download is complete. This method works for me.
Upvotes: 1