How to convert `Observable<List<A>>` t...
# rx
s
How to convert
Observable<List<A>>
to
List<A>
without using
blockingFirst()
? I have a function which returns
Observable<List<A>>
. This returned value must be assigned to attribute of
class B
like
b.listA = List<A>
. But currently I'm getting
b.listA = Observable<List<A>>
. If I use
b.listA = Observable<List<A>>.blockingFirst()
then it solves the problem. But its not a good way of implementation.