Prevent folder invalidation

This commit is contained in:
M66B
2020-01-22 16:18:21 +01:00
parent ddd041aa40
commit 4624ae2166
6 changed files with 2236 additions and 26 deletions

View File

@@ -146,6 +146,9 @@ public interface DaoFolder {
" GROUP BY folder.id")
LiveData<TupleFolderEx> liveFolderEx(long id);
@Query(TupleFolderView.query)
LiveData<List<TupleFolderView>> liveFolderView();
@Query("SELECT * FROM folder ORDER BY account, name COLLATE NOCASE")
List<EntityFolder> getFolders();