sujin
04/15/2018, 4:49 PMObservable<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.