From 19dfa070fd8a0e519d0d2b7e5cf49b62549c017c 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 14:52:30 +0900 Subject: [PATCH] =?UTF-8?q?ListItem=E3=83=A2=E3=83=87=E3=83=AB=E4=BD=9C?= =?UTF-8?q?=E6=88=90,=20=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E5=AE=9A=E7=BE=A9,=20Getter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/model/ListItem.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/ListItem.java b/model/src/main/java/one/nem/lacerta/model/ListItem.java index a2efa8ed..c0120245 100644 --- a/model/src/main/java/one/nem/lacerta/model/ListItem.java +++ b/model/src/main/java/one/nem/lacerta/model/ListItem.java @@ -1,4 +1,35 @@ package one.nem.lacerta.model; +import android.graphics.drawable.Drawable; + public class ListItem { + + String title; + String description; + Drawable icon; + String itemId; + + public ListItem(String title, String description, Drawable icon, String itemId) { + this.title = title; + this.description = description; + this.icon = icon; + this.itemId = itemId; + } + + public String getTitle() { + return title; + } + + public String getDescription() { + return description; + } + + public Drawable getIcon() { + return icon; + } + + public String getItemId() { + return itemId; + } + }