kirillrakhman
06/20/2016, 12:36 PMObservable that behaves differently everytime it's subscribed to? I came up with the following 4-liner but was wondering if I'm missing an official way
fun <T> fromBehaviors(vararg o: Observable<T>): Observable<T> {
var counter = 0
return Observable.defer { o[counter++] }
}