Dagger2 component with more than one dependencies

后端 未结 5 1311
轻奢々
轻奢々 2021-01-04 09:24

This is what I currently have and it works:

@FragmentScope
@Component(dependencies = {FacebookComponent.class}, 
            


        
5条回答
  •  时光说笑
    2021-01-04 09:54

    Include on your module the dependency module like this:

    @Module(includes = FacebookModule.class)
    public class AnotherModule {...
    

提交回复
热议问题