Created
January 5, 2017 08:19
-
-
Save babedev/65f23d43577c130f793880c647e5433a 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