Changed folder sort / item layout

This commit is contained in:
M66B
2018-08-06 16:01:56 +00:00
parent 33c0ec0efe
commit a63a5767c1
40 changed files with 417 additions and 387 deletions

View File

@@ -69,14 +69,21 @@ public class EntityFolder {
TYPE_SENT
); // Must match SYSTEM_FOLDER_ATTR
static final List<String> FOLDER_SORT_ORDER = Arrays.asList(
TYPE_INBOX,
TYPE_OUTBOX,
TYPE_DRAFTS,
TYPE_SENT,
TYPE_ARCHIVE,
TYPE_JUNK,
TYPE_TRASH,
TYPE_USER
);
static boolean isOutgoing(String type) {
return (TYPE_OUTBOX.equals(type) || TYPE_DRAFTS.equals(type) || TYPE_SENT.equals(type));
}
static Boolean isUser(String type) {
return TYPE_USER.equals(type);
}
@PrimaryKey(autoGenerate = true)
public Long id;
public Long account; // Outbox = null