ICT4Dat / ict4dat-news-android

ICT4D.at's App to combine all ICT4D news into one Android application
Apache License 2.0
5 stars 1 forks source link

RxEventBus thread selection boilerplate #145

Closed rajasone closed 5 years ago

rajasone commented 5 years ago

we are using following same thread selection boilerplate code in all the places where we are using the event bus observeOn(AndroidSchedulers.mainThread()).subscribeOn(Schedulers.io()), may be we can move these couple of lines inside the RxEventBus class, may be inside the init block or post method