This package wires app module dependencies for the main activity shell.
- Koin modules are grouped by concern: analytics, presenter, view model, and feature provider.
scope<MainScreen>keepsMainPresenterscoped to the main activity.viewModelDSL wiresMainScreenViewModelwithSavedStateHandle.DynamicFeatureModuleHelperexports one app module helper for startup loading.
ApplicationInitializer loads appModules. The resulting bindings make analytics, the main presenter, the main view model, and MainRouter.Provider available before MainScreen starts component initialization.
- Uses flavor supplied
AnalyticsTreeimplementations. - Provides
MainRouter.Providerthroughapp/src/main/kotlin/co/anitrend/provider/FeatureProvider.kt. - Consumes app core Koin helper utilities.