Skip to content
Snippets Groups Projects
Commit aacd3473 authored by akwizgran's avatar akwizgran
Browse files

Merge branch '227-update-contact-list' into 'master'

Update contact list when contacts are deleted. #227

The logic in ConversationActivity for adding or updating items didn't allow for items being removed. We *could* come up with logic for doing that - throw all the items from the adapter into a set, remove any items corresponding to current contacts from the set, then batch update the adapter to remove any items remaining in the set - but I think it would be overly complex. It's simpler to just clear the adapter and add the current contacts.

Also tidied up some adapter code while looking for the bug.


See merge request !70
parents 8e4086a3 cdfaa393
No related branches found
No related tags found
No related merge requests found
Showing
with 35 additions and 75 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment