Reputation: 10622
I am running a countdown timer in android and i want to show this countdown to the user in an Activity with a TextView. How can i do this? Has any one done this before?
Upvotes: 0
Views: 171
Reputation: 33545
2 Methods,
First Method involves, Using a Handler
. See my Answer here Its not a countdown, but it should show you how to use a Handler
.
Second Method involves, Using runOnUIThread()
, by running a Runnable
with the implementation of your countdown.
Upvotes: 1