-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fragment 由于 使用了 getView().setClickable(true) 引出的问题。 #766
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
Comments
我把 在
|
你可以在确保上个Fragment被hide后再 |
我看到 SupportFragment 在 onActivityCreated 进行 setClickable(true) ,然后并没有在上一个fragment hide 的时候再进行 setClickable(false)回来。 |
@zhangchaojiong |
OK |
由于 getView().setClickable(true) ,我的 getLayoutId 里面的布局的控件并没有设置点击的 监听。但是在点击屏幕的时候,控件的 state_pressed 仍然被响应。这是为什么呢?
The text was updated successfully, but these errors were encountered: