You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.
I think most of the time folks use CountDownTimer with 1s interval and only onTick callback. So we could use a default parameter for interval (also probably for starting the timer) and a lambda as last parameter for onTick. With that the following top-level function might exist:
I think most of the time folks use CountDownTimer with 1s interval and only
onTick
callback. So we could use a default parameter for interval (also probably for starting the timer) and a lambda as last parameter foronTick
. With that the following top-level function might exist:And the usage is a lot simplified after that:
What do you think about this?
The text was updated successfully, but these errors were encountered: