File-Loader
File-Loader copied to clipboard
File downloading library for android.
I just start to add dependencies but error comes up like that, can you help me?
Hi How can I have download progress while downloading single file? Thanks
No work with ftp url (eg. ftp://link.com/file.zip
How to the downloaded files when downloading multiple files
``` Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference at com.krishna.fileloader.request.FileLoadRequest.hashCode(FileLoadRequest.java:2) at java.util.WeakHashMap.hash(WeakHashMap.java:298) at java.util.WeakHashMap.getEntry(WeakHashMap.java:426) at java.util.WeakHashMap.containsKey(WeakHashMap.java:417) at com.krishna.fileloader.FileLoader.addRequestListenerToQueue(FileLoader.java:4) at com.krishna.fileloader.request.FileLoadRequest.getRequestListener(FileLoadRequest.java) at com.krishna.fileloader.builder.FileLoaderBuilder.asFile(FileLoaderBuilder.java:12)...
I tried to download JSON as file to external directory, but when I updated the file, the library didn't check the file integrity
multiFileDownloader.cancelLoad(); download continues in the background even though I run the command
var uris = arrayOf("https://images.pexels.com/photos/45170/kittens-cat-cat-puppy-rush-45170.jpeg", "https://upload.wikimedia.org/wikipedia/commons/3/3c/Enrique_Simonet_-_Marina_veneciana_6MB.jpg", "https://d15shllkswkct0.cloudfront.net/wp-content/blogs.dir/1/files/2017/01/Google-acquires-Fabric.png") FileLoader.multiFileDownload(this) .fromDirectory(Environment.DIRECTORY_PICTURES, FileLoader.DIR_EXTERNAL_PUBLIC) .progressListener(object: MultiFileDownloadListener() { override fun onProgress(p0: File?, progress: Int, totalFiles: Int) { println("DownloadFile: $progress | TotalFile $Int" ) } override fun...
Does this library downloads the file too into the device's internal storage or just shows the file from the network because when I try to open the file using intent...
Dose this download blob URL ?