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

能不能添加preCheckedChanged生命周期或者CheckedChangeInterceptor #38

Open
ancienter opened this issue Mar 29, 2019 · 0 comments

Comments

@ancienter
Copy link

ancienter commented Mar 29, 2019

用了一下,感觉是个非常nice的组件,不过在做一个功能的时候遇到点小问题,能不能添加preCheckedChanged生命周期或者CheckedChangeInterceptor,以便在状态发生改变前进行一些操作,比如调用api或者检查网络状态,如果调用成功或者网络畅通就放行执行状态改变并触发onCheckedChanged事假,否则就回弹,并提示永用户无法操作,这样的话组件的灵活性会更好

@ancienter ancienter changed the title 能不能添加preCheckedChanged 能不能添加preCheckedChanged生命周期或者CheckedChangeInterceptor Mar 29, 2019
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

1 participant