if (onClickListener != null) {
onClickListener.setOnClickListener(null);
}
public interface OnClickListener {
void setOnClickListener(String string);
}
public OnClickListener onClickListener;
public void setOnClickListener(OnClickListener onClickListener) {
this.onClickListener = onClickListener;
}
04-09
1871
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-04
2382
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-27
767
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-31
2947
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)