This commit is contained in:
2021-04-21 10:49:19 +08:00
parent 22374420ed
commit 03ec67cdcb

View File

@@ -882,7 +882,7 @@ public class MainFragment extends BaseFragment<FragmentMainBinding> implements V
@Override
public void onBindViewHolder(Object b, final int itemPosition) {
ItemCommentBinding itemCommentBinding = (ItemCommentBinding) b;
if (dis_content.get(itemPosition).getReply().isEmpty()) {
if (TextUtils.isEmpty(dis_content.get(itemPosition).getReply())) {
itemCommentBinding.llHf.setVisibility(View.GONE);
itemCommentBinding.ll.setVisibility(View.VISIBLE);
itemCommentBinding.tvName.setText(dis_content.get(itemPosition).getNickname() + ": ");