public PomodoroClock(PomodoroClock p) { config = new int[] { CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_PAUSE }; currentIndexTimer = 0; this.sujet = p.sujet; this.client = p.client; this.priorite = p.priorite; tag = p.tag; countDownTimer = new CountDownTimer(p.countDownTimer); this.date = p.date; }
public void addPomodoro(PomodoroClock pomodoro) { pomodoroList.Add(pomodoro); fullPomodoroList.Add(new PomodoroClock(pomodoro)); }