rxjava-essentials icon indicating copy to clipboard operation
rxjava-essentials copied to clipboard

I find there's a problem in the FirstExampleFragment class

Open zondaOf2012 opened this issue 10 years ago • 0 comments

 private void refreshTheList() {
    getApps().toSortedList().subscribe ... ...
 }

should change to

 private void refreshTheList() {
    getApps().toSortedList().subscribeOn(Schedulers.io())
        .observeOn(AndroidSchedulers.mainThread()).subscribe ... ...
 }

zondaOf2012 avatar Jan 11 '16 07:01 zondaOf2012