Created
June 14, 2020 03:01
-
-
Save bobbyirawan09/3a6b616a4bdcd9dd5d16c18d7e81de6c to your computer and use it in GitHub Desktop.
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
class Repository(): KoinComponent { | |
private val propertyA: ClassA = get() | |
//Lazy injection | |
private val propertyA: ClassA by inject() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment