成功添加评论后,修改资讯-关注列表评论数缓存。修复点赞复用bug
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user