Can I animate an increase in a score variable using a textview over 1 second?
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
Can I animate an increase in a score variable using a textview over 1 second?
2
Answers
Another approach which works well is to use new Handler(Looper.getMainLooper()).postDelayed(new Runnable() ... such as:
I would highly recommend using checking out this question, there are various approaches that works differently for different cases.
You could try:
This could also be repurposed into it’s own method 😉