Skip to content Skip to sidebar Skip to footer

What Is Difference Between IntentService And HandlerThread?

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

Solution 1:

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.


Post a Comment for "What Is Difference Between IntentService And HandlerThread?"