1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-25 06:21:04 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/SpinnerWithIconItem.java
vanous 5c3c23ea50 Improve Sports Activities dashboard and Filter
- 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
2020-11-26 17:19:08 +01:00

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