🚀 Features
- WorkManager/Worker Assisted injection is now supported (#180)
@TangleWorker
class MyWorker @AssistedInject constructor(
@Assisted context: Context,
@Assisted params: WorkerParameters,
val repository: MyRepository
) : CoroutineWorker(context,params){
override suspend fun doWork(): Result {
// ...
}
}
💥 Breaking Changes
- The
by tangleViewModel()
delegate functions for Activity
and Fragment
have been moved to their own modules. (#204)
This was done to prevent leaking the Androidx transitive dependencies into projects which don't otherwise use them.
The new artifacts are:
com.rickbusarow.tangle:tangle-viewmodel-activity
com.rickbusarow.tangle:tangle-viewmodel-fragment
TangleGraph
has moved :tangle-api
(tangle.inject.TangleGraph
) (#169)
🐛 Bug Fixes
- fix wrapping of very long checkNotNull error messages (#162)