ObservableAdapters: notify on map/list being set

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Samuel Holland
2017-08-18 23:25:40 -05:00
parent 5b4e957122
commit a49fe9adf5
3 changed files with 2 additions and 3 deletions
@@ -86,6 +86,7 @@ class ObservableMapAdapter<K extends Comparable<K>, V> extends BaseAdapter imple
if (map != null) {
map.addOnMapChangedCallback(callback);
}
notifyDataSetChanged();
}
private static class OnMapChangedCallback<K extends Comparable<K>, V>