Added account to local contacts

This commit is contained in:
M66B
2019-03-17 08:26:17 +00:00
parent d63536b3fc
commit 5d98923ffc
10 changed files with 1749 additions and 73 deletions

View File

@@ -92,9 +92,9 @@ public class FragmentContacts extends FragmentBase {
}
DB db = DB.getInstance(getContext());
db.contact().liveContacts().observe(getViewLifecycleOwner(), new Observer<List<EntityContact>>() {
db.contact().liveContacts().observe(getViewLifecycleOwner(), new Observer<List<TupleContactEx>>() {
@Override
public void onChanged(List<EntityContact> contacts) {
public void onChanged(List<TupleContactEx> contacts) {
if (contacts == null)
contacts = new ArrayList<>();