Alex Haycock
Alex Haycock

Reputation: 395

Should I use a Timer, Handler or ASyncTask?

I have a thread which needs to be run in the background every 1000ms. It can't be run in the UI as it freezes the app. What method should I be using to do this action?

Upvotes: 1

Views: 271

Answers (1)

MByD
MByD

Reputation: 137322

TimerTask seems to fit perfectly for me.

Upvotes: 1

Related Questions