Code example for HandlerThread

Methods: quit

0
    public void onPause() { 
        mCarouselView.pause();
    } 
 
    public void onDestroy() { 
        mHandlerThread.quit();
    } 
 
    protected Handler getAsyncHandler() {
        return mAsyncHandler;
    } 
 
    protected CarouselView getCarouselView() { 
        return mCarouselView;
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE