mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-08 22:51:37 +02:00
0bb3188bc8
They are now managed by the Activity, because the fragments may be created and destroyed at any time and hece cannot synchronize their date-state all the time. Open issue: moving across the borders (first day with data, current day)
21 lines
634 B
Java
21 lines
634 B
Java
package nodomain.freeyourgadget.gadgetbridge.activities.charts;
|
|
|
|
import java.util.Date;
|
|
|
|
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
|
|
|
public interface ChartsHost {
|
|
static final String DATE_PREV = ChartsActivity.class.getName().concat(".date_prev");
|
|
static final String DATE_NEXT = ChartsActivity.class.getName().concat(".date_next");
|
|
static final String REFRESH = ChartsActivity.class.getName().concat(".refresh");
|
|
|
|
GBDevice getDevice();
|
|
|
|
void setStartDate(Date startDate);
|
|
void setEndDate(Date endDate);
|
|
|
|
Date getStartDate();
|
|
Date getEndDate();
|
|
void setDateInfo(String dateInfo);
|
|
}
|