解决一些hardcode和命名规范

This commit is contained in:
kehaoyuan
2017-11-21 09:23:33 +08:00
parent 41b940a8e9
commit cb95204fac
21 changed files with 114 additions and 108 deletions

View File

@ -2,6 +2,7 @@ package com.gh.common.util;
import android.content.Context;
import com.gh.gamecenter.R;
import com.gh.gamecenter.entity.CommentEntity;
import com.gh.gamecenter.retrofit.JSONObjectResponse;
import com.gh.gamecenter.retrofit.Response;
@ -43,7 +44,7 @@ public class PostCommentUtils {
listener.postSuccess(response);
}
} else {
Utils.toast(context, "提交失败,请检查网络设置");
Utils.toast(context, context.getString(R.string.post_failure_hint));
}
}