Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created March 16, 2018 02:09
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 skydoves/009b1978ed2b6991d23167e6d572e870 to your computer and use it in GitHub Desktop.
Save skydoves/009b1978ed2b6991d23167e6d572e870 to your computer and use it in GitHub Desktop.
PrefAppComponent
@PreferenceComponent(entities = [(Profile::class)])
interface PrefAppComponent {
fun inject(target: SearchActivityViewModel)
fun inject(target: DetailActivityViewModel)
fun inject(target: GithubUserRepository)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment