Skip to content

Instantly share code, notes, and snippets.

@matzuk
Created February 7, 2019 12:35
Show Gist options
  • Save matzuk/53c5a7369c0d33c00570fa4ed26d23c4 to your computer and use it in GitHub Desktop.
Save matzuk/53c5a7369c0d33c00570fa4ed26d23c4 to your computer and use it in GitHub Desktop.
@Component(modules = {
ScannerFeatureModule.class,
ScreenNavigationModule.class
}, dependencies = ScannerFeatureDependencies.class)
@PerFeature
public abstract class ScannerFeatureComponent implements ScannerFeatureApi {
// bla-bla-bla
@Component(dependencies = {
CoreUtilsApi.class,
CoreNetworkApi.class,
CoreDbApi.class,
PurchaseFeatureApi.class
})
@PerFeature
interface ScannerFeatureDependenciesComponent extends ScannerFeatureDependencies { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment