Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有可以取消点击非高亮区域自动关闭的方法吗,我好像没找到。我是想只让点击高亮区域 #9

Open
dlisagod opened this issue Sep 1, 2021 · 2 comments

Comments

@dlisagod
Copy link

dlisagod commented Sep 1, 2021

有可以取消点击非高亮区域自动关闭的方法吗,我好像没找到。我是想只让点击高亮区域

@mainlxl
Copy link

mainlxl commented Apr 27, 2023

关闭auto next 修改为手动即可 需要修改源码

@jiangtingfu
Copy link

不建议这么做,源码里面有对应的回调事件,这样会影响下面的引导步骤不出现。
.setOnMaskViewClickCallback {
highlightPro.dismiss();
}

建议通过自己定义的view增加点击事件来是实现需求,用户确实想退出可以点击这个退出的区域。
.setTipsView(
LayoutInflater.from(fragment.context)
.inflate(R.layout.layout_guide_study_2, viewGroup,null)
findViewById(R.id.tv_cancel).apply {
visibility = View.VISIBLE
setOnClickListener {
highlightPro.dismiss()
}
}
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants