Skip to content

Instantly share code, notes, and snippets.

@nomanr
Last active September 21, 2020 12:45
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 nomanr/13358df75befeb05ad0e48986f33ca8a to your computer and use it in GitHub Desktop.
Save nomanr/13358df75befeb05ad0e48986f33ca8a to your computer and use it in GitHub Desktop.
ViewModelInject Simple Example
class ExampleViewModel @ViewModelInject constructor(
private val someUseCase: SomeUseCase,
@Assisted private val savedStateHandle: SavedStateHandle
) : ViewModel() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment