モデル変更

This commit is contained in:
r-ca 2024-01-20 15:27:11 +09:00
parent 6fb8091754
commit 32cd27997c
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -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;
}
}