Package | Description |
---|---|
rx |
Rx Observables
|
rx.observables |
Modifier and Type | Method and Description |
---|---|
<K> Observable<GroupedObservable<K,T>> |
Observable.groupBy(Func1<? super T,? extends K> keySelector)
Groups the items emitted by an
Observable according to a specified criterion, and emits these
grouped items as GroupedObservable s, one GroupedObservable per group. |
<K,R> Observable<GroupedObservable<K,R>> |
Observable.groupBy(Func1<? super T,? extends K> keySelector,
Func1<? super T,? extends R> elementSelector)
Groups the items emitted by an
Observable according to a specified criterion, and emits these
grouped items as GroupedObservable s, one GroupedObservable per group. |
Modifier and Type | Method and Description |
---|---|
static <K,T> GroupedObservable<K,T> |
GroupedObservable.create(K key,
Observable.OnSubscribe<T> f)
Returns an Observable that will execute the specified function when a
Subscriber subscribes to
it. |
static <K,T> GroupedObservable<K,T> |
GroupedObservable.from(K key,
Observable<T> o)
Converts an
Observable into a GroupedObservable with a particular key. |
Copyright © 2015. All Rights Reserved.