I'm just learning RxJava on android and I'm implementing MVP pattern on my app. I'm using RxJava on my rest API from model and model to a presenter, From presenter, I'm wondering if I should also implement RxJava from presenter to view(Activity/fragments)? Or should I prefer normal interface methods? Also is there a guideline as to when to use RxJava and when not to. Also if it is good to implement RxJava in view, is there a way to make three completable namely: onSuccess()
,onFailure(String message)
and onError(String message)
replaced by a single Observable?
Thanks in advance!