Progress bar when synchronizing with the server

My application must constantly connect to a remote server to download data. I want to implement a progress bar during data loading, and also show the progress and estimated time left at the time of loading.

Can anyone suggest a better way to do this?

+3
source share
2 answers

It depends on the type of synchronization ... for example:

, + , , .

+2

AsyncTask .

preExecute , .. .

onProgressUpdate , , .

+3

All Articles