@AndroidEntryPoint | |
class CompetitionsFragment : BaseFragment() { | |
... | |
/** | |
* This should be deleted as it's no longer needed | |
*/ | |
override fun onAttach(context: Context) { | |
super.onAttach(context) | |
// Inject dagger here | |
DaggerCompetitionComponent.factory().create(coreComponent()).inject(this) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment