Created
January 5, 2017 08:19
-
-
Save babedev/3e59376491c254c4dde06c7d37929d39 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
private void generateView() throws IOException { | |
TypeSpec mvpView = TypeSpec.interfaceBuilder(featureName + "View") | |
.build(); | |
JavaFile javaFile = JavaFile.builder(packageName + "." + featureName.toLowerCase(), mvpView) | |
.build(); | |
File file = new File("app/src/main/java"); | |
javaFile.writeTo(file); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment