Reduce number of invalidations

This commit is contained in:
M66B
2019-06-07 17:01:06 +02:00
parent 01bfae0ddd
commit 845eff88b4
13 changed files with 1994 additions and 62 deletions

View File

@@ -37,7 +37,7 @@ public interface DaoContact {
@Query("SELECT contact.*, account.name AS accountName" +
" FROM contact" +
" JOIN account ON account.id = contact.account" +
" JOIN accountprop AS account ON account.id = contact.account" +
" ORDER BY times_contacted DESC, last_contacted DESC")
LiveData<List<TupleContactEx>> liveContacts();