Skip to content

Instantly share code, notes, and snippets.

@FireZenk
Created December 5, 2017 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FireZenk/d7534ccb5d9d58601c5809fc60b6e102 to your computer and use it in GitHub Desktop.
Save FireZenk/d7534ccb5d9d58601c5809fc60b6e102 to your computer and use it in GitHub Desktop.
package {{lowerCase package}}.{{lowerCase feature}};
public class {{properCase feature}}PresenterImpl implements {{properCase feature}}Presenter, {{properCase feature}}Interactor.On{{properCase feature}}FinishedListener {
private {{properCase feature}}View {{lowerCase feature}}View;
private {{properCase feature}}Interactor {{lowerCase feature}}Interactor;
public {{properCase feature}}PresenterImpl({{properCase feature}}View {{lowerCase feature}}View) {
this.{{lowerCase feature}}View = {{lowerCase feature}}View;
this.{{lowerCase feature}}Interactor = new {{properCase feature}}InteractorImpl();
}
@Override public void onDestroy() {
{{lowerCase feature}}View = null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment