Created
January 3, 2020 09:49
-
-
Save mlykotom/4ba5335aaf1409984877981261da51ee to your computer and use it in GitHub Desktop.
Connecting The Dots :: Assisted Saved State - ViewModel constructor
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 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