filtered collection update method now public
This commit is contained in:
parent
c82002c659
commit
4ee8b3bb02
|
|
@ -84,7 +84,10 @@ public class ObservableFilteredList<TItem> extends ObservableCollection<TItem> {
|
|||
updateCollections();
|
||||
}
|
||||
|
||||
private void updateCollections() {
|
||||
/**
|
||||
* Updates collection by current filter. Use it if some item's parameter which is important for filtering have changing.
|
||||
*/
|
||||
public void updateCollections() {
|
||||
if (sourceCollection == null) {
|
||||
if (filteredList != null) {
|
||||
final Change<TItem> change = new Change<>(Change.Type.REMOVED, filteredList, 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue