@@ -0,0 +1,394 @@
+package com.yxkang.android.sample.asynctask;%0A%0Aimport com.yxkang.android.os.TimeoutAsyncTask;%0A%0A/**%0A * Created by yexiaokang on 2016/6/23.%0A */%0Apublic class MyTimeoutAsyncTask extends TimeoutAsyncTask%3CVoid, Void, String%3E %7B%0A%0A    @Override%0A    protected String doInBackground(Void... params) %7B%0A        return null;%0A    %7D%0A%0A    @Override%0A    protected long getTimeout() %7B%0A        return 3000;%0A    %7D%0A%7D%0A

add TimeoutAsyncTask sample