RxJava2-MVVM-Android-Structure
RxJava2-MVVM-Android-Structure copied to clipboard
onErrorResumeNext() always throws
In LoginAPIService and RegistrationAPIService, you use onErrorResumeNext() with a method that always throws an Exception, but never returns an Observable.
Isn't it better to just use doOnError() for that?