抽离列表的onclick事件 还未完成(太太太多啦), click startActivityForResult相关已经完成

This commit is contained in:
kehaoyuan
2017-09-27 17:15:58 +08:00
parent 5b361afc67
commit b8ea968a58
36 changed files with 351 additions and 1077 deletions

View File

@ -360,23 +360,9 @@ public class LoginUtils {
public void onFailure(HttpException e) {
super.onFailure(e);
Utils.toast(context, context.getString(R.string.login_failure_hint));
if (loginTag.equals(LoginTag.qq)) {
if (loginTag != null && loginTag.equals(LoginTag.qq)) {
GetLoginDataUtils.getInstance(context).QQLogout();
}
// if (e == null) {
// Utils.toast(context, "请检查网络是否可用");
// return;
// }
// try {
// ResponseBody responseBody = e.response().errorBody();
// String string = responseBody.string();
// Utils.log("getUserData::" + string);
// JSONObject content = new JSONObject(string);
// int code = content.getInt("code");
// outputErrorHint(context, code);
// } catch (Exception e1) {
// e1.printStackTrace();
// }
}
});
}