All notable changes to this project will be documented in this file.
Changes
- Add attentional check if a task was canceled while it was put in the queue to be executed on the main thread
- Add support to add other work on the same lazy worker. You can use this to show results delayed
Changes
- Add new
ThreadingHelper
for mockingHandler
s andisOnMainThread
for testing code using this lib
Changes
- Add missing lifecycle check in
MainThreadJob.doNow()
Changes
- Changed interface of worker from
() -> Unit
toJob.() -> Unit
which makes it easier to run tasks periodically Please note for Java implementations this is a breaking change
Changes
- Rewrite in Kotlin
- Support for Android lifecycle
- First published