Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlykotom/4ba5335aaf1409984877981261da51ee to your computer and use it in GitHub Desktop.
Save mlykotom/4ba5335aaf1409984877981261da51ee to your computer and use it in GitHub Desktop.
Connecting The Dots :: Assisted Saved State - ViewModel constructor
class SomeViewModel @AssistedInject constructor(
private val application: Application,
@Assisted private val savedStateHandle: SavedStateHandle
){
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment