mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
設定画面のリストアイテム用モデル作成
This commit is contained in:
parent
17dc90162b
commit
6c22050906
|
@ -0,0 +1,55 @@
|
|||
package one.nem.lacerta.setting.model;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
public class SettingListItem {
|
||||
|
||||
String title;
|
||||
String description;
|
||||
String destination;
|
||||
Drawable icon;
|
||||
|
||||
public SettingListItem(String title, String description, String destination, Drawable icon) {
|
||||
this.title = title;
|
||||
this.description = description;
|
||||
this.destination = destination;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public SettingListItem() {
|
||||
// Empty constructor
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public String getDestination() {
|
||||
return destination;
|
||||
}
|
||||
|
||||
public Drawable getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
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