mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
モデル変更
This commit is contained in:
parent
6fb8091754
commit
32cd27997c
|
@ -6,18 +6,14 @@ public class SettingListItem {
|
||||||
|
|
||||||
String title;
|
String title;
|
||||||
String description;
|
String description;
|
||||||
String destination;
|
|
||||||
Drawable icon;
|
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.title = title;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.destination = destination;
|
|
||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
}
|
this.destination = destination;
|
||||||
|
|
||||||
public SettingListItem() {
|
|
||||||
// Empty constructor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
|
@ -28,28 +24,11 @@ public class SettingListItem {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDestination() {
|
|
||||||
return destination;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Drawable getIcon() {
|
public Drawable getIcon() {
|
||||||
return icon;
|
return icon;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTitle(String title) {
|
public int getDestination() {
|
||||||
this.title = title;
|
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user