Skip to content

Instantly share code, notes, and snippets.

@marciogranzotto
Last active August 7, 2017 04:01
Show Gist options
  • Save marciogranzotto/4a3ef436f07ef7b7327c0d0b067dd25d to your computer and use it in GitHub Desktop.
Save marciogranzotto/4a3ef436f07ef7b7327c0d0b067dd25d to your computer and use it in GitHub Desktop.
File template for Android Studio that creates the contracts for a new VIPER module
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
#parse("File Header.java")
object ${NAME} {
interface View: BaseContracts.View {
//TODO
}
interface Presenter: BaseContracts.Presenter {
//TODO
}
interface Interactor: BaseContracts.Interactor {
//TODO
}
interface InteractorOutput: BaseContracts.InteractorOutput {
//TODO
}
interface Router: BaseContracts.Router {
//TODO
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment