ObservableAdapters: notify on map/list being set
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user