Created
November 25, 2019 17:05
-
-
Save ResoDev/3f647e472feed1dd9df179a2533cee32 to your computer and use it in GitHub Desktop.
Kiwi Module Snippet
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
"Kiwi DI module": { | |
"prefix": "kiwim", | |
"body": [ | |
"//! ${1:module name}", | |
"void _configure${1}Module() {", | |
" _configure${1}Instances();", | |
" _configure${1}Factories();", | |
"}", | |
"", | |
"void _configure${1}Instances() {", | |
" // container.registerInstance();", | |
"}", | |
"", | |
"@Register.factory(${2}, from: ${3})", | |
"void _configure${1}Factories();" | |
], | |
"description": "Kiwi DI module" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pawanchauhan043 , you can add this as a Live Template in Android Stuido