Instead of the verbose setOnClickListener:
RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)| public abstract class DolapSubscriber<T> extends Subscriber<T> { | |
| private MVPView mvpView; | |
| public DolapSubscriber(MVPView mvpView) { | |
| this.mvpView = mvpView; | |
| } | |
| @Override | |
| public void onCompleted() { |
| git rm -r --cached . | |
| git add . | |
| git commit -m ".gitignore is now working" | |
| git push origin master |