This commit is contained in:
jinyuer
2021-01-28 14:59:30 +08:00
parent 89945347ae
commit 6bd2b76fee
9 changed files with 106 additions and 70 deletions

View File

@@ -15,6 +15,7 @@ public class CommentDialog extends HorizontalAttachPopupView {
public CommentDialog(@NonNull Context context) {
super(context);
tvZan = findViewById(R.id.tv_zan);
@@ -61,6 +62,12 @@ public class CommentDialog extends HorizontalAttachPopupView {
});
}
@Override
protected void onCreate() {
super.onCreate();
}
public void setShowBug(boolean type) {
if (type) {
@@ -75,7 +82,7 @@ public class CommentDialog extends HorizontalAttachPopupView {
}
public void setPraise(boolean type) {
isPraise=type;
isPraise = type;
if (type) {
tvZan.setText("取消");
} else {
@@ -95,7 +102,7 @@ public class CommentDialog extends HorizontalAttachPopupView {
}
public interface OnCommentOperateListener {
public interface OnCommentOperateListener {
void click(int type);
}
}