优化登录流程,修复2.6已知的BUG
This commit is contained in:
@ -9,7 +9,6 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
|
||||
import com.gh.base.AppController;
|
||||
import com.gh.base.OnRequestCallBackListener;
|
||||
import com.gh.common.util.EntranceUtils;
|
||||
import com.gh.common.util.ImageUtils;
|
||||
@ -193,6 +192,7 @@ public class ToolBoxRvAdapter extends BaseRecyclerAdapter {
|
||||
super.onFailure(e);
|
||||
if (e != null && e.code() == 409) {
|
||||
mIsRequestError = true;
|
||||
mLoadKeyOver = true;
|
||||
loadData(mIsSearch, finalOffset);
|
||||
return;
|
||||
}
|
||||
@ -365,11 +365,11 @@ public class ToolBoxRvAdapter extends BaseRecyclerAdapter {
|
||||
intent.putExtra(EntranceUtils.KEY_ENTRANCE, "工具箱列表");
|
||||
mContext.startActivity(intent);
|
||||
} else {
|
||||
AppController.put("ToolBoxEntity", toolBoxEntity);
|
||||
Intent intent = new Intent(mContext, WebActivity.class);
|
||||
intent.putExtra("url", toolBoxEntity.getUrl());
|
||||
intent.putExtra("isTools", true);
|
||||
intent.putExtra("gameName", toolBoxEntity.getName());
|
||||
intent.putExtra("ToolBoxEntity", toolBoxEntity);
|
||||
mContext.startActivity(intent);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user