Understanding Android Core: Looper, Handler, and HandlerThread
Janishar Ali
1.4K20

Very good article to remember basics of the harmony between Handlers and Loopers. It is good practise always to use HandlerThread instead of creating manually. I just checked the code and IMHO, no need a handler for each client object in PostOffice HandlerThread. Just create one handler after Thread is alive and then clients and message information can be gained from Message object than call the callback.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.