Created
September 14, 2018 12:23
-
-
Save ValeryPonomarenko/24bc9dd9b5db7a2f6a13cfd58edebc97 to your computer and use it in GitHub Desktop.
Lifecycle aware dagger components
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface IHasComponent { | |
fun getComponent(): Any | |
fun getComponentKey(): String = javaClass.toString() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment