Created
November 21, 2020 21:29
-
-
Save princessdharmy/8e5abdcc784ce0b7e5c836ccb84736ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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