If you download files in the foreground and they are not small, you might want to inform the user on your actions. Ideally, you would display progress updates how much you've downloaded already. We've another tutorial on how to download files with
The option 1 is used for downloading a file from Server which is having fixed URL. and option 2 is used to pass a dynamic value as full URL to request call. This can be helpful when downloading files, which are dependent of parameters like user or time. S
Struggling to upload images to your server? Here is the Retrofit Upload File Tutorial. The retrofit library also gives an option to send the Multipart HTTP requests, and we can use it for uploading files. So let’s learn how we do this in our Android pro
Post a Comment:
Showing 0 Comments: