protected void doUpdateList(Object source, ListDiff diff) {
IObservableList observable = observe(source);
try {
diff.applyTo(observable);
} finally {
observable.dispose();
}
}
public IObservableList observe(Object source) {
return observe(Realm.getDefault(), source);