updateTotalTime method

void updateTotalTime(
  1. int totalTime
)

Update countdown total time.

Implementation

void updateTotalTime(int totalTime) {
  cancel();
  mTotalTime = totalTime;
  startCountDown();
}