Skip to content

Instantly share code, notes, and snippets.

@mlykotom
Created January 3, 2020 10:10
Show Gist options
  • Save mlykotom/e599baa8d5cbdf38b8de682eb3a4a2fb to your computer and use it in GitHub Desktop.
Save mlykotom/e599baa8d5cbdf38b8de682eb3a4a2fb to your computer and use it in GitHub Desktop.
Connecting The Dots :: Motivation - dependencies with Dagger
class SomeViewModel @Inject constructor(
private val depFromDagger1: Dependency,
private val depFromDagger2: Dependency2
) : ViewModel()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment