PRDownloader
PRDownloader copied to clipboard
get downloaded size without start download file
is any solution to get downloaded size without start downloading file such percent and downloaded size?
Yes, we can add this API in the new version very soon.
Is this available yet? Been almost a year for this thread.
Is this available yet? Been almost a year for this thread.
Yes, There is For file size you can get it on OnProgressListener under onProgress method You just have to call progess.totalBytes and for File downloaded you can get as progress.currentBytes
Not getting file size by calling progress.totalBytes inside OnProgressListener . It is returning -1 . What to do ?
Not getting file size by calling progress.totalBytes inside OnProgressListener . It is returning -1 . What to do ?
I also facing the same issue.
The same issue facing.
Same issue here. it is returning -1 for files greater than 1 MB
Same Issue. getting totalBytes as -1.
Is there a solution?