Use tasks to get data to order

This commit is contained in:
M66B
2019-05-08 20:33:40 +02:00
parent 106f14b39c
commit d232bc882c
2 changed files with 30 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ public interface DaoFolder {
" FROM folder" +
" JOIN account ON account.id = folder.account" +
" WHERE account.`synchronize`")
LiveData<List<TupleFolderSort>> liveSort();
List<TupleFolderSort> getSortedFolders();
@Query("SELECT folder.*" +
", account.`order` AS accountOrder, account.name AS accountName, account.color AS accountColor, account.state AS accountState" +