Uses of Handler
- Scheduling of messages and runnables that need to be executed in the future.
- Enqueueing actions that need to be performed in the background thread.
Handler and Looper
Looper
Dispatch work on its message-loop thread.
Handler
- Submit messages to its Looper queue.
- Implement the
callback
for processing those messages.