-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b03836
commit 610f227
Showing
326 changed files
with
1,334 additions
and
1,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
androidApp/src/main/kotlin/org/michaelbel/movies/di/AppKoinModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.michaelbel.movies.di | ||
|
||
import org.koin.dsl.module | ||
import org.michaelbel.movies.account.di.accountKoinModule | ||
import org.michaelbel.movies.auth.di.authKoinModule | ||
import org.michaelbel.movies.debug.di.debugKoinModule | ||
import org.michaelbel.movies.details.di.detailsKoinModule | ||
import org.michaelbel.movies.feed.di.feedKoinModule | ||
import org.michaelbel.movies.gallery.di.galleryKoinModule | ||
import org.michaelbel.movies.platform.inject.flavorServiceKtorModule | ||
import org.michaelbel.movies.search.di.searchKoinModule | ||
import org.michaelbel.movies.settings.di.settingsKoinModule | ||
import org.michaelbel.movies.widget.di.glanceKoinModule | ||
|
||
val appKoinModule = module { | ||
includes( | ||
flavorServiceKtorModule, | ||
mainKoinModule, | ||
accountKoinModule, | ||
authKoinModule, | ||
detailsKoinModule, | ||
feedKoinModule, | ||
galleryKoinModule, | ||
searchKoinModule, | ||
settingsKoinModule, | ||
debugKoinModule, | ||
glanceKoinModule | ||
) | ||
} |
23 changes: 23 additions & 0 deletions
23
androidApp/src/main/kotlin/org/michaelbel/movies/di/MainKoinModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.michaelbel.movies.di | ||
|
||
import org.koin.androidx.viewmodel.dsl.viewModelOf | ||
import org.koin.dsl.module | ||
import org.michaelbel.movies.MainViewModel | ||
import org.michaelbel.movies.analytics.di.moviesAnalyticsKoinModule | ||
import org.michaelbel.movies.common.biometric.di.biometricKoinModule | ||
import org.michaelbel.movies.debug.di.debugNotificationClientKoinModule | ||
import org.michaelbel.movies.interactor.di.interactorKoinModule | ||
import org.michaelbel.movies.platform.inject.flavorServiceKtorModule | ||
import org.michaelbel.movies.work.di.workKoinModule | ||
|
||
val mainKoinModule = module { | ||
includes( | ||
interactorKoinModule, | ||
biometricKoinModule, | ||
moviesAnalyticsKoinModule, | ||
flavorServiceKtorModule, | ||
workKoinModule, | ||
debugNotificationClientKoinModule | ||
) | ||
viewModelOf(::MainViewModel) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
buildSrc/src/main/kotlin/plugins/AndroidHiltConventionPlugin.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...mp/src/androidMain/kotlin/org/michaelbel/movies/analytics/di/MoviesAnalyticsKoinModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.michaelbel.movies.analytics.di | ||
|
||
import org.koin.core.module.dsl.bind | ||
import org.koin.core.module.dsl.singleOf | ||
import org.koin.dsl.module | ||
import org.michaelbel.movies.analytics.MoviesAnalytics | ||
import org.michaelbel.movies.analytics.impl.MoviesAnalyticsImpl | ||
|
||
val moviesAnalyticsKoinModule = module { | ||
singleOf(::MoviesAnalyticsImpl) { bind<MoviesAnalytics>() } | ||
} |
18 changes: 0 additions & 18 deletions
18
...cs-kmp/src/androidMain/kotlin/org/michaelbel/movies/analytics/di/MoviesAnalyticsModule.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
.../src/androidMain/kotlin/org/michaelbel/movies/analytics/event/ChangeDynamicColorsEvent.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...s-kmp/src/androidMain/kotlin/org/michaelbel/movies/analytics/event/SelectFeedViewEvent.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...s-kmp/src/androidMain/kotlin/org/michaelbel/movies/analytics/event/SelectLanguageEvent.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...-kmp/src/androidMain/kotlin/org/michaelbel/movies/analytics/event/SelectMovieListEvent.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...tics-kmp/src/androidMain/kotlin/org/michaelbel/movies/analytics/event/SelectThemeEvent.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.