成功添加评论后,修改资讯-关注列表评论数缓存。修复点赞复用bug

This commit is contained in:
khy
2016-11-17 19:43:10 +08:00
parent 44c1a2adb6
commit 1917462ea3
4 changed files with 98 additions and 5 deletions

View File

@ -27,6 +27,7 @@ import com.gh.common.util.Utils;
import com.gh.gamecenter.adapter.MessageDetailAdapter;
import com.gh.gamecenter.entity.CommentEntity;
import com.gh.gamecenter.entity.UserEntity;
import com.gh.gamecenter.manager.CommentManager;
import org.json.JSONArray;
import org.json.JSONException;
@ -228,6 +229,8 @@ public class MessageDetailActivity extends BaseActivity {
// 完成评论操作,添加评论数
mMessageDetailAdapter.addCommentCount();
//修改评论缓存
CommentManager.updateOkhttpCache(newsId);
}
@Override