How to make friends c (Realm + RxAndroid)?

No docks on this subject only malusienki example for off site realm which I am not enough.
In the Retrofit I did
Service interface -
@GET("some_parn_of_url/")
 Observable<list<Object>> getObjectsObservable();</list<Object>

Then controllere
Service service = getService.getObjectsObservable()
.subscribeOn(Schedulers.newThread())
.observeOn(AndroidSchedulers.mainThread())
 .subscribe(new Subscriber<object>() {
@Override
 public final void onCompleted() {
 // do nothing
}

@Override
 public final void onError(Throwable e) {
 Log.e("GithubDemo", e.getMessage());
}

@Override
 public final void onNext(Objectresponse) {
mCardAdapter.addData(response);
}
});<br><br>
In the Realm will not work.</object>
July 8th 19 at 16:00
2 answers
July 8th 19 at 16:02
What is the question?
How to prepare classes to work with Realm and RxAndrod ? - winnifred_Kreiger commented on July 8th 19 at 16:05
July 8th 19 at 16:04
Well here like described in detail how to work with RxJava + Realm.
https://realm.io/news/using-realm-with-rxjava/
Now Realm version 1.0.0 - winnifred_Kreiger commented on July 8th 19 at 16:07
: https://realm.io/docs/java/latest/api/ - winnifred_Kreiger commented on July 8th 19 at 16:10

Find more questions by tags Android