added abilyti to observe collection
This commit is contained in:
parent
e2e4c47871
commit
59d5b03e2d
|
|
@ -104,6 +104,11 @@ public abstract class ObservableCollectionAdapter<TItem, TViewHolder extends Obs
|
|||
return observableCollectionSubject.getValue();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public Observable<ObservableCollection<TItem>> observeObservableCollection() {
|
||||
return observableCollectionSubject.distinctUntilChanged();
|
||||
}
|
||||
|
||||
protected int itemsOffset() {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue