在原有的评论基础上,新建评论添加子评论没有显示回复内容
修改方法:
CommentDetailBean.DataBean.CommentBean.ReplyListBean detailBean = new
CommentDetailBean.DataBean.CommentBean.ReplyListBean("小红",replyContent);
adapter.addTheReplyData(detailBean,groupPosition);
for (int i = 0; i < commentsList.size(); i++) {
expandableListView.expandGroup(i);
}
在原有的评论基础上,新建评论添加子评论没有显示回复内容 修改方法: CommentDetailBean.DataBean.CommentBean.ReplyListBean detailBean = new CommentDetailBean.DataBean.CommentBean.ReplyListBean("小红",replyContent); adapter.addTheReplyData(detailBean,groupPosition); for (int i = 0; i < commentsList.size(); i++) { expandableListView.expandGroup(i); }
添加完成回复之后,再次展开ListView,显示子评论