Convert observable to list
You can use toList() or toSortedList() . For e.g.
observable.toList(myObservable)
.subscribe({ myListOfSomething -> do something useful with the list });
Hope this helps.
List<T> myList = myObservable.toList().toBlocking().single();
thanks
anand raman