MJ Studio
1 min readApr 4, 2020

--

Put all binded Fragment to Singleton scope module is not good idea.

You can put your Fragments to each module and Add that modules in contributesAndroidInjector.

In this case, we don’t need to re-declare FragmentFactory binding.

Because FragmentFactory exists in singleton level module, Dagger multibinding is working correctly

--

--

MJ Studio
MJ Studio

Written by MJ Studio

a Developer, Student, Learner.

No responses yet