Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@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
You can’t perform that action at this time.