Run a loop with a HandlerThread

suggest change

A HandlerThread can be used to start a thread with a Looper. This looper then can be used to create a Handler for communications with it.

HandlerThread thread = new HandlerThread("thread-name");
Handler handler = new Handler(thread.getLooper());

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents