snow
snow

Reputation: 191

What is difference between IntentService and HandlerThread?

They both loop through a queue of something (messages/intents) and execute them?

Upvotes: 1

Views: 366

Answers (1)

jobcrazy
jobcrazy

Reputation: 1073

IntentService is not really loop through a queue of Intents, It uses the Service to receive Intents and handle it in a worker thread, Actually, there is a HandlerThread running in IntentService doing the loop stuff.

Upvotes: 1

Related Questions