Reputation: 395
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
Reputation: 137322
TimerTask seems to fit perfectly for me.