From eaac70c5dd8700c044fbfbdf0db9cce419897b31 Mon Sep 17 00:00:00 2001 From: Luis Sedano Date: Mon, 2 Jul 2018 12:54:23 +0200 Subject: [PATCH 1/2] feat: change dagger injection to koin - first step --- .idea/caches/build_file_checksums.ser | Bin 535 -> 540 bytes .idea/misc.xml | 76 ++++++++++++++++++ .idea/vcs.xml | 2 +- app/build.gradle | 9 +-- app/src/main/AndroidManifest.xml | 1 + .../net/gahfy/mvvmposts/PostsApplication.kt | 14 ++++ .../net/gahfy/mvvmposts/base/BaseViewModel.kt | 24 +----- .../mvvmposts/injection/ViewModelFactory.kt | 11 ++- .../injection/component/ViewModelInjector.kt | 26 ------ .../injection/module/NetworkModule.kt | 46 ----------- .../mvvmposts/ui/post/PostListActivity.kt | 8 +- .../mvvmposts/ui/post/PostListViewModel.kt | 5 +- .../net/gahfy/mvvmposts/utils/Modules.kt | 30 +++++++ build.gradle | 2 +- 14 files changed, 141 insertions(+), 113 deletions(-) create mode 100644 app/src/main/kotlin/net/gahfy/mvvmposts/PostsApplication.kt delete mode 100644 app/src/main/kotlin/net/gahfy/mvvmposts/injection/component/ViewModelInjector.kt delete mode 100644 app/src/main/kotlin/net/gahfy/mvvmposts/injection/module/NetworkModule.kt create mode 100644 app/src/main/kotlin/net/gahfy/mvvmposts/utils/Modules.kt diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 9798d4cc5f8339481096d58c145c64480e0099b3..8ce47080c0fa21aea1e48fc0745ecbfd58e683d9 100644 GIT binary patch delta 128 zcmV-`0Du3N1e^qrm;_p&cjl3th!QI=RdZ!>b1!UlX>)UBWMOV^lZOE$6EnXq1nFxn zcSzE+4(D}p=X3xJlkfo+5S2U<7lc>iE`G*ON;D9TP)Xwgb2xCB~P{NrZuS izNd5m5tEPs8KqBTpuUS=}6{DD$UGE(MvB%Ovy(>iy-Pw=b?xEn!g84=qkD zD%MX=%t))8Y{sY}a7DJ~W0Z; F1pqETKT7}r diff --git a/.idea/misc.xml b/.idea/misc.xml index 99202cc..5602458 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +