Why onNext() is updating textview, though observeOn(Schedulars.io()) on a different thread?
问题 Observable.range(11,10).subscribeOn(Schedulers.io()) .observeOn(Schedulers.io()) .subscribe(new Observer<Integer>() { @Override public void onSubscribe(@NonNull Disposable d) { } @Override public void onNext(@NonNull Integer integer) { textView.setText(String.valueOf(integer)); Log.d(TAG, "onNext: "+Thread.currentThread().getName()); } @Override public void onError(@NonNull Throwable e) { } @Override public void onComplete() { } }); onNext() supposed to run on separate thread, but how is it