mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-08 15:35:24 +02:00
- makes nicer dashboard, unify with design in Activity List - dashboard is now part of the sports activities list (had to overcome some hurdles, because of the multiselect for sharing) - add icons to Spinners in Sports Filter
33 lines
567 B
Java
33 lines
567 B
Java
package nodomain.freeyourgadget.gadgetbridge.adapter;
|
|
|
|
public class SpinnerWithIconItem {
|
|
|
|
String text;
|
|
Long id;
|
|
int imageId;
|
|
|
|
public SpinnerWithIconItem(String text, Long id, int imageId) {
|
|
this.text = text;
|
|
this.id = id;
|
|
this.imageId = imageId;
|
|
}
|
|
|
|
public String getText() {
|
|
return text;
|
|
}
|
|
|
|
public int getImageId() {
|
|
return imageId;
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return text + " " + id + " " + imageId;
|
|
}
|
|
|
|
}
|