@Override
protected void fillData(List<String> data) {
+ data.clear();
try {
List<String> authors = Instance.getInstance().getLibrary()
.getAuthors();
protected abstract T createEmptyData();
+ // beware: you should update it OR clean/re-add it, but previous data may
+ // still be there
protected abstract void fillData(T data);
protected abstract String keyToElement(String key);
@Override
protected void fillData(Map<String, List<String>> data) {
+ data.clear();
try {
Map<String, List<String>> sourcesGrouped = Instance.getInstance()
.getLibrary().getSourcesGrouped();
@Override
protected void fillData(List<String> data) {
+ data.clear();
try {
MetaResultList metas = Instance.getInstance().getLibrary()
.getList();