Created
November 27, 2017 13:13
-
-
Save JEuler/de69d5c0f912df95ca690271ed0b80df to your computer and use it in GitHub Desktop.
Typical observer live template
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 class $CLASS_NAME$ implements ResubscriptionObserver<$SUB_CLASS_NAME$> { | |
@Override | |
public String resubscriptionTag() { | |
return $OBSERVER_STRING_TAG$ | |
} | |
@Override | |
public void onCompleted() { | |
} | |
@Override | |
public void onError(Throwable e) { | |
} | |
@Override | |
public void onNext($SUB_CLASS_NAME$) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment