Created
July 30, 2018 07:54
-
-
Save har5hit/ffc55da87e0d028914c100b0d52912bb 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
---- JAVA ---- | |
@Binds | |
@IntoMap | |
@ViewModelKey($ViewModelClassName$.class) | |
abstract ViewModel bind$ViewModelClassName$($ViewModelClassName$ $ViewModelVariable$); | |
---- KOTLIN ---- | |
@Binds | |
@IntoMap | |
@ViewModelKey($ViewModelClassName$.class) | |
abstract bind$ViewModelClassName$($ViewModelClassName$ : $ViewModelClassName$):ViewModel; | |
---- Edit Template Variables ---- | |
ViewModelClassName variableOfType(ViewModel) | |
ViewModelVariable camelCase(ViewModelClassName) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment