Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created January 13, 2018 13:41
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/f0d37228b12f583d6957d82cf382d4d5 to your computer and use it in GitHub Desktop.
Save skydoves/f0d37228b12f583d6957d82cf382d4d5 to your computer and use it in GitHub Desktop.
@PreferenceComponent(entities = arrayOf(Profile::class, Device::class))
interface UserProfileComponent {
/**
* declare dependency injection targets.
*/
fun inject(target: MainActivity)
fun inject(target: LoginActivity)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment