koin v0.8.1 Release Notes
-
Android Architecture
Now declare your ViewModel lazyly in attributes, with by viewModel() like by inject()
by viewModel()
lazy function call thegetViewModel()
function and allowval
attribute declaration of yourViewModel
(like withby inject()
) - (issue #37)- ๐ Better support to share
ViewModel
between Activity and Fragments - โก๏ธ
android.arch.lifecycle:extensions
updated to1.1.0
Spark
start and startKoin functions have been merged
startSpark {}
has been renamed tostart {}
and have amodules
arguments to list all of your modules- ๐
start()
andstartKoin
has been merged tostart( modules = <List of modules>)
stopSpark{}
has been renamed tostop {}
and includecloseKoin()
Core
- Kotlin
1.2.21
- ๐ Internal fixes around Bean definition lookup / Duplicated defintion (issue #39)
- ๐ Fixed loading from koin.properties (for embedded jar)