How to set timer in android?

Can someone give a simple example of updating a textfield every second or so?

I want to make a flying ball and need to calculate/update the ball coordinates every second, that’s why I need some sort of a timer.

I don’t get anything from here.

24 Answers
24

Leave a Comment