Created
June 26, 2021 08:33
-
-
Save orcchg/b6b8ca4e76cfb693d41ebdb788c7dc23 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @Module | |
| object FeatureApiModule { | |
| @Provides | |
| @IntoMap | |
| @ClassKey(StockListFeatureApi::class) | |
| @FeatureApis | |
| fun stockListFeatureApi( | |
| @CoreApis coreApis: Map<Class<*>, @JvmSuppressWildcards Api>, | |
| @DataApis dataApis: Map<Class<*>, @JvmSuppressWildcards Api> | |
| ): Api = | |
| DaggerStockListFeatureComponent.factory() | |
| .create( | |
| schedulersCoreLibApi = coreApis.get(), | |
| stockListDataApi = dataApis.get() | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment