Update contact list when contacts are deleted. #227

Also removed unnecessary adapter notifications in various places.
This commit is contained in:
akwizgran
2016-01-20 16:08:22 +00:00
parent 3c543b0d62
commit cdfaa39338
9 changed files with 35 additions and 75 deletions

View File

@@ -66,7 +66,6 @@ implements OnItemSelectedListener, OnClickListener {
adapter.clear();
for (LocalAuthor a : authors) adapter.add(new LocalAuthorItem(a));
adapter.sort(LocalAuthorItemComparator.INSTANCE);
adapter.notifyDataSetChanged();
// If a local author has been selected, select it again
AuthorId localAuthorId = container.getLocalAuthorId();
if (localAuthorId == null) return;