Repository navigation
v1.0.2 #12
jeet-012
announced in
Announcements
v1.0.2
#12
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v1.0.2
Improved pause and concurrency handling, better restore behavior, notifications, foreground service management, and HTTP response handling.
Added
.setHoldSlotOnPause(boolean enable)to control whether a paused download holds or releases its concurrency slot.Can be configured via
SimpleDownloader.builder()or adownloaderinstance..hasListeners()and.hasListener(Listener)methods to bothDownloadTaskandSimpleDownloader..hasObservers()and.hasObserver(Observer)methods toSimpleDownloader.Statuswith helper methods -isQueued(),isPaused(),isComplete(),isFailed(),isCancelled(), and more.Formatter.formatTime(long timeMillis, String format)for timestamp formatting..setAutoRestore(false)viaSimpleDownloader.builder().SimpleDownloader.VERSION.Improvements
holdSlotOnPause.Paused downloads now release their concurrency slot by default.
holdSlotOnPauseis disabled by default.Content-Rangeand response handling in the HTTP engine.DownloadTask.ListenerandSimpleDownloader.Listener.com.jeet.simpledownloadertocom.jeetarc.simpledownloader.Migration
1. Package Rename
The library package has been renamed to:
Update any existing imports from
com.jeet.simpledownloadertocom.jeetarc.simpledownloader2. Update Dependency
implementation "com.github.jeetarc:SimpleDownloader:1.0.2"3. Listener API
If you are using deprecated Listener callback methods, update them to the new Listener API signatures. Visit Callbacks and Listener
Documentation:
https://github.com/jeetarc/SimpleDownloader/blob/main/README.md
SimpleDownloader on GitHub:
https://github.com/jeetarc/SimpleDownloader
This discussion was created from the release v1.0.2.
All reactions