Search in sources :

Example 1 with FactorChangedEvent

use of com.faltenreich.diaguard.shared.event.preference.FactorChangedEvent in project Diaguard by Faltenreich.

the class FactorFragment method store.

private void store() {
    factor.setTimeInterval(timeInterval);
    for (FactorItem item : items) {
        factor.setValueForHour(item.getValue(), item.getHourOfDay());
    }
    Events.post(new FactorChangedEvent());
    finish();
}
Also used : FactorChangedEvent(com.faltenreich.diaguard.shared.event.preference.FactorChangedEvent)

Aggregations

FactorChangedEvent (com.faltenreich.diaguard.shared.event.preference.FactorChangedEvent)1