I have application that sends (multiple text files) to server and progress bar is updated on each file send & get response. It is dismissed once all files has been sent.
I have successfully implement this by calling send function inside a loop and progress bar gets updated. Now I want to AsyncTask to execute the http request for each file and meanwhile progress bar gets updated as well.
How do I define AsyncTask to send specific file and get the response. On every file it sends, progress bar is also gets updated?
Any help would be really appreciated.
Thanks
-Sam