This commit is contained in:
2021-02-19 18:27:46 +08:00
parent 7a4ef531d1
commit 0124112260
10 changed files with 449 additions and 31 deletions

View File

@@ -629,7 +629,7 @@ public class MainFragment extends BaseFragment<FragmentMainBinding> implements V
public void onClick(final View v) {
final CommentDialog commentDialog = new CommentDialog(baseActivity);
commentDialog.setShowBug(discoveryListEntity.getType() == 2);
commentDialog.setShowBug(discoveryListEntity.getType().equals("2"));
commentDialog.setPraise(discoveryListEntity.getIs_like() == 1);
final int mBottomY = getCoordinateY(homeGridAdapterItemBinding.ivComment) + homeGridAdapterItemBinding.ivComment.getHeight();
commentDialog.setOnCommentOperateListener(new CommentDialog.OnCommentOperateListener() {