I plan to implement integer number increase on textView from 0 to some value with animation within certain seconds. e.g show animation which increase number from 0 to 600 on
I propose answer here for Kotlin developers :
fun startAnimation(textView: TextView) { val animator = ValueAnimator.ofInt(0, 600) animator.duration = 5000 // 5 seconds animator.addUpdateListener { animation -> textView.text = animation.animatedValue.toString() } animator.start() }