Closed Widiyanto closed 6 years ago
This is a general RxJava usage question which is far better suited to be asked on StackOverflow with the 'rx-java' tag or on the RxJava mailing list. Links to both are available in the README. There's nothing specific to RxAndroid here.
@Override
public void requestLogin(LoginRequest loginRequest, Context context) {
mView.loadingShowLogin();
mDataManager.login(loginRequest)
.compose(RxUtil.<Response<LoginResponse>>rxSchedulerHelper())
.subscribe(new ResourceSubscriber<Response<LoginResponse>>() {