Code example for HandlerThread

Methods: getLooperstart

 * Helper class for managing the background thread used to perform io operations 
 * and handle async broadcasts. 
public final class AsyncHandler { 
    private static final HandlerThread sHandlerThread = new HandlerThread("AsyncHandler");
    private static final Handler sHandler;
    static { 
        sHandler = new Handler(sHandlerThread.getLooper());
    /* This class is never initiated */ 
    private AsyncHandler() { 
     * @param r The {@link Runnable} to execute. 
Stop searching for code, let great code find you!  Add Codota to your java IDE