アイコンIDを追加

This commit is contained in:
ろむねこ 2024-01-11 15:04:42 +09:00
parent f833465dc8
commit 5dcb27a2e9
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,17 @@
package one.nem.lacerta.model; package one.nem.lacerta.model;
public enum ListItemType { 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;
}
} }