I have the List of SourceObjects and I need to convert it to the List of ResultObjects.
I can fetch one object to another using method of ResultObject:
c
If what you need is simply List to List without manipulating result of List.
The cleanest version is:
List a = ... // ["1", "2", ..]
List b = Observable.from(a)
.map(a -> new B(a))
.toList()
.toBlocking()
.single();