andriod studio does it exicute the on finish with each second or when the whole time runs outcountDownTimer code example
Example 1: android studio timers
Timer()
Creates a new timer.
Timer(boolean isDaemon)
Creates a new timer whose associated thread may be specified to Thread#setDaemon.
Timer(String name)
Creates a new timer whose associated thread has the specified name.
Timer(String name, boolean isDaemon)
Creates a new timer whose associated thread has the specified name, and may be specified to Thread#setDaemon.
Example 2: android studio timers
public Timer ()