From 5dcb27a2e9bbd15563fae23ccc36980bcb4e1aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 11 Jan 2024 15:04:42 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3ID=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/model/ListItemType.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/ListItemType.java b/model/src/main/java/one/nem/lacerta/model/ListItemType.java index 3f0051c9..65376a1c 100644 --- a/model/src/main/java/one/nem/lacerta/model/ListItemType.java +++ b/model/src/main/java/one/nem/lacerta/model/ListItemType.java @@ -1,4 +1,17 @@ package one.nem.lacerta.model; public enum ListItemType { + + ITEM_TYPE_FOLDER(one.nem.lacerta.shared.ui.R.drawable.folder_24px), + ITEM_TYPE_DOCUMENT(one.nem.lacerta.shared.ui.R.drawable.description_24px); + + private int iconId; + + ListItemType(int iconId) { + this.iconId = iconId; + } + + public int getIconId() { + return iconId; + } }