I\'m using Retrofit to return rxjava Observable\'s for my async network calls.
I find myself repeating the following invocation:
someApiCall().subscrib
it is not the full answer to what you are looking for, but this at least removes the burden of righting subscribeOn(Schedulers.io())
retrofit = new Retrofit
.Builder()
.baseUrl(app.getUrlBase())
.client(httpClient)
.addCallAdapterFactory(
RxJava2CallAdapterFactory.createWithScheduler(Schedulers.io()) // <-- default subscribeOn()
)
.addConverterFactory(jsonFactory)
.build();