T
T
Tsuzukeru2021-02-09 10:20:19
Java
Tsuzukeru, 2021-02-09 10:20:19

What is the best way to receive an additional response from the server using RxJava?

Often there is a task when it is necessary to get Json twice with information on an object.
For example, the first time we call the search query method, which returns a List with the id of the found objects.
After that, you need to call the second method to get detailed information on each object using its id.

How do you solve such kind of problems? Where are you calling the second method?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2021-02-09
@Tsuzukeru

flatMap/switchMap

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question