-
Notifications
You must be signed in to change notification settings - Fork 654
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
如果写多个引导控件比较复杂 #28
Comments
目前遇到同样问题,一直期望能自己把接口抽取出来,不过功力不够,,, |
private void showGuideView(final View view, final int srcRecourse, final int mode) {
通过一个方法在一个界面里可以多次调用,不过结构并不好,有需求你可以再改,因为我的需求是遮盖固定显示在屏幕最下方,所以我改过源码中的宽高计算,不知道对你有没有影响,不过在这段代码里应该没什么影响 |
虽然没有时间研究作者的核心代码块并且重构,但是在作者的基础上进行“投机取巧”的利用,也完成了复杂多控件引导的实现,有兴趣的可以在下方回帖交流 |
如果写多个引导控件比较复杂,两个就要实例两次,build两次,有点复杂,如果能写进build里就好了
The text was updated successfully, but these errors were encountered: