fix:修复分享复制链接点击无响应
This commit is contained in:
@@ -29,7 +29,7 @@ public class ShareDialog extends BottomSheetDialog implements View.OnClickListen
|
|||||||
public static final int TYPE_SHARE_H5 = 4;
|
public static final int TYPE_SHARE_H5 = 4;
|
||||||
|
|
||||||
private final Context context;
|
private final Context context;
|
||||||
// private TextView tvLink;
|
private TextView tvLink;
|
||||||
// private TextView tvLine;
|
// private TextView tvLine;
|
||||||
private TextView tvCancel;
|
private TextView tvCancel;
|
||||||
private static final String TAG = "ShareDialog";
|
private static final String TAG = "ShareDialog";
|
||||||
@@ -52,11 +52,11 @@ public class ShareDialog extends BottomSheetDialog implements View.OnClickListen
|
|||||||
setContentView(R.layout.dialog_share);
|
setContentView(R.layout.dialog_share);
|
||||||
setCanceledOnTouchOutside(true);
|
setCanceledOnTouchOutside(true);
|
||||||
// tvLine = findViewById(R.id.tv_line);
|
// tvLine = findViewById(R.id.tv_line);
|
||||||
// tvLink = findViewById(R.id.tv_share_link);
|
tvLink = findViewById(R.id.tv_share_link);
|
||||||
tvCancel = findViewById(R.id.tv_cancel);
|
tvCancel = findViewById(R.id.tv_cancel);
|
||||||
|
|
||||||
// tvLine.setOnClickListener(this);
|
// tvLine.setOnClickListener(this);
|
||||||
// tvLink.setOnClickListener(this);
|
tvLink.setOnClickListener(this);
|
||||||
tvCancel.setOnClickListener(this);
|
tvCancel.setOnClickListener(this);
|
||||||
FrameLayout bottomSheet = findViewById(R.id.design_bottom_sheet);
|
FrameLayout bottomSheet = findViewById(R.id.design_bottom_sheet);
|
||||||
if (bottomSheet != null) {
|
if (bottomSheet != null) {
|
||||||
|
Reference in New Issue
Block a user