Answer the question
In order to leave comments, you need to log in
How to call an Rx method inside another Rx method?
There is a method methodA that makes a request to the server and returns an instance of the class in subscribe.
SearchRequestResponse(val a:String, val b:String, val c:MutableList<Video>)
Answer the question
In order to leave comments, you need to log in
First, mutable data in an Rx stream is very, very bad. This can lead to a lot of bugs. The data must be immutable.
Secondly, you will need combineLatest , which takes a list of Observable. And you will get the list from your video list.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question