We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can one listen for when the progress is completed?
The text was updated successfully, but these errors were encountered:
You need to add a count down timer when circle progress bar animation start like below code binding.progressBar.apply { progress = 0F val animationDuration = 60 * 1000 * 2 setProgressWithAnimation(100f, animationDuration) } object : CountDownTimer(60 * 1000 * 2, 1000) { override fun onTick(millisUntilFinished: Long) { val currentProgress = (String.format( "%02d:%02d", TimeUnit.MILLISECONDS.toMinutes(millisUntilFinished), TimeUnit.MILLISECONDS.toSeconds(millisUntilFinished) - TimeUnit.MINUTES.toSeconds( TimeUnit.MILLISECONDS.toMinutes( millisUntilFinished ) ) )) binding.tvProgress.text = currentProgress }
override fun onFinish() { binding.tvResend.visible() } }.start()
Sorry, something went wrong.
No branches or pull requests
How can one listen for when the progress is completed?
The text was updated successfully, but these errors were encountered: