observeon专题

Observable.observeOn(AndroidSchedulers.mainThread())编译出错解决方案

1.检查compile: implementation 'io.reactivex:rxandroid:1.1.0'implementation 'io.reactivex:rxjava:1.1.4' 2.检查是否添加proguard-rules.pro: -keep class rx.** {*;}3.clean project