Created
November 17, 2019 20:30
-
-
Save Marchuck/13505f3fe5e53539c40d71ec36497259 to your computer and use it in GitHub Desktop.
SomeFragment
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
class SomeFragment: Fragment(){ | |
@Inject factory: AssistedViewModel.Factory | |
override fun onActivityCreated(savedInstanceState: Bundle?){ | |
super.onActivityCreated(savedInstanceState) | |
val viewModel = factory.create(301) | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment