dynamic-feature-module

Android Dynamic Feature modules with Dagger Hilt

坚强是说给别人听的谎言 提交于 2020-08-10 19:21:14
问题 I have built a Dynamic feature module sample with Fragments, sub components and dependent components based on plaid app, if you wish to check out here is the link. Now, i'm trying to convert it to Dagger Hilt using the official android document. In core module which is the library module, app module and dynamic feature modules depend on @Singleton @Component(modules = [CoreModule::class]) interface CoreComponent { /* Provision methods to provide dependencies below to components that depends

How to start an Activity in a dynamic feature module?

那年仲夏 提交于 2020-01-25 08:58:26
问题 When typing to start an Activity within a dynamic feature module trough an Android Studio run-configuration, I get the following warning: The activity 'SomeActivity' is not declared in AndroidManifest.xml . (because it is being declared in the AndroidManifest.xml of the dynamic feature module). For reference, this is the library being used: // https://developer.android.com/guide/app-bundle/playcore api "com.google.android.play:core:1.6.4" The run configuration shows & deploys both modules,