@@ -0,0 +1,1194 @@
+package com.zen.android.async.demo.ui;%0A%0Aimport android.os.Bundle;%0Aimport android.os.Handler;%0Aimport android.os.Message;%0Aimport android.util.Log;%0A%0Aimport com.zen.android.async.demo.R;%0Aimport com.zen.android.async.demo.ui.base.BaseCaseActivity;%0A%0Aimport butterknife.OnClick;%0A%0A/**%0A * HandlerBtActivity%0A *%0A * @author zeny%0A * @version 2015.11.22%0A */%0Apublic class HandlerBtActivity extends BaseCaseActivity %7B%0A%0A    private BtHandler mHandler;%0A%0A    @Override%0A    protected void onBaseCreate(Bundle state) %7B%0A        setContentView(R.layout.activity_handler_case);%0A    %7D%0A%0A    @OnClick(R.id.btn_handler_action)%0A    void onClickAciton() %7B%0A        mHandler = new BtHandler();%0A        mHandler.sendEmptyMessageDelayed(0, 1000000);%0A    %7D%0A%0A    @OnClick(R.id.btn_handler_action_delay)%0A    void onClickAcitonDelay() %7B%0A        new BtHandler().sendEmptyMessageDelayed(0, 10000);%0A    %7D%0A%0A    @OnClick(R.id.btn_handler_action_thread)%0A    void onClickActionWithThread() %7B%0A%0A    %7D%0A%0A    private static class BtHandler extends Handler %7B%0A        @Override%0A        public void handleMessage(Message msg) %7B%0A            super.handleMessage(msg);%0A            Log.d(%22HandlerCase%22, %22handleMessage %22 + msg.what);%0A        %7D%0A    %7D%0A%7D%0A

add Handler Case