Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Marchuck
Created November 17, 2019 19:40
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 Marchuck/ddb06f3ba7c8724cf9edaa9eb00b246d to your computer and use it in GitHub Desktop.
Save Marchuck/ddb06f3ba7c8724cf9edaa9eb00b246d to your computer and use it in GitHub Desktop.
MyViewModel.kt
class MyViewModel @Inject constructor(private val dependency1: Dependency1,
private val dependency2: Dependency2,
...
private val id: Int)//hold on Dagger! I will provide this on my own
{ ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment