From 32cd27997c3b344ddf8f4ed33b2fb98f10027df9 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 20 Jan 2024 15:27:11 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=83=87=E3=83=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/model/SettingListItem.java | 31 +++---------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/feature/setting/src/main/java/one/nem/lacerta/setting/model/SettingListItem.java b/feature/setting/src/main/java/one/nem/lacerta/setting/model/SettingListItem.java index 868468a2..3966e12f 100644 --- a/feature/setting/src/main/java/one/nem/lacerta/setting/model/SettingListItem.java +++ b/feature/setting/src/main/java/one/nem/lacerta/setting/model/SettingListItem.java @@ -6,18 +6,14 @@ public class SettingListItem { String title; String description; - String destination; Drawable icon; + int destination; - public SettingListItem(String title, String description, String destination, Drawable icon) { + public SettingListItem(String title, String description, Drawable icon, int destination) { this.title = title; this.description = description; - this.destination = destination; this.icon = icon; - } - - public SettingListItem() { - // Empty constructor + this.destination = destination; } public String getTitle() { @@ -28,28 +24,11 @@ public class SettingListItem { return description; } - public String getDestination() { - return destination; - } - public Drawable getIcon() { return icon; } - public void setTitle(String title) { - this.title = title; + public int getDestination() { + return destination; } - - public void setDescription(String description) { - this.description = description; - } - - public void setDestination(String destination) { - this.destination = destination; - } - - public void setIcon(Drawable icon) { - this.icon = icon; - } - }