Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SomeFragment
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