Why DatasourceImpl#refresh does nothing? #PL-5436

This commit is contained in:
Konstantin Krivopustov 2015-08-30 11:42:18 +00:00
parent f4e8ad4a14
commit 8c47e4e7e3

View File

@ -145,6 +145,12 @@ public class DatasourceImpl<T extends Entity>
state = State.VALID;
fireStateChanged(prevState);
}
if (item != null) {
T prevItem = item;
T reloadedItem = dataSupplier.reload(item, view);
__setItem(reloadedItem);
fireItemChanged(prevItem);
}
}
@Override