Animate TextView to increase integer and stop at some point?

前端 未结 5 1795
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-12 21:50

I have a TextView showing integer value. Integer value is transferred from previous activity, and I want to add nice animation. I want to if for example int value is 73, I w

5条回答
  •  醉酒成梦
    2020-12-12 22:15

    I think this project in github is what you want: https://github.com/sd6352051/RiseNumber

    The RiseNumberTextView extends TextView and use the ValueAnimator to implement the rising number effect.

提交回复
热议问题