1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user