Most voted "rxjava" questions
7 questions
Sort by count of
-
3
votes1
answer121
viewsHow to make two Retrofit chain calls with Rxjava?
I make a call to recover some data and the second call - which should be made inside the first one - uses one of the fields of the previous call. val restApi = retrofit.create(RestAPI::class.java)…
-
2
votes1
answer87
viewsValues are being sent nulls
For some reason the arrays are being sent null in setListGrades, but inside the log shows the normal arrays. The API is being consumed correctly, so it is null when sending this method? @Override…
-
1
votes0
answers74
viewsProblem creating android unit test with Rxjava and Mockito
The test is about making the assertions that the methods are called when the execution is successful, but an error is occurring that I cannot solve. My class: class LoginActivityPresenter(private…
-
0
votes0
answers32
viewsRxjava receiving the data
How to separate this array into 3 arrays, like one for gradesList, one for faultList and one for classList. To use Rxjava. [Gradelist(gradesList=4.5, faultList=5, classList=Math),…
-
0
votes1
answer47
viewsonNext on Observer is never called
Consider the following code snippet. ReplaySubject<List<Object>> subject = ReplaySubject.create(); subject.subscribe(view::mostraListaObjetos); subject.onNext(getListOnline()); //logo…
rxjavaasked 7 years, 4 months ago Marcus Duarte 45 -
0
votes1
answer203
viewsHow to use Rxandroid?
I’m trying to use Rxandroid but I’m not getting it. Actually, I wanted to be able to use methods inside an Observable, to access the Firebasefirestore and recover the data inside the Realm. So the…
-
0
votes2
answers161
viewsWhen to use Livedata or when to use Rxjava (or Rxjava2 / Rxkotlin)?
After the LiveData was introduced as architecture component of Jetpack, I have seen much discussion about the use of it. The most common is that it is used in the layer viewmodel of MVVM, standard…