-
Notifications
You must be signed in to change notification settings - Fork 433
You can click multiple sections before the drawer closes #59
Comments
@javmarina the problem is resolved? |
No |
What I propose is that when a section is clicked, the first thing done is totally disabling the drawer. When it's closed, the drawer gets enabled again. Right now you can click multiple sections at the same time. |
yes I know. |
I haven't seen your code. For example, your drawer view is mDrawer. I think you have to call mDrawer.setClickable(false); when a section is clicked and when the drawer is closed call mDrawer.setClickable(true); again |
no, I disabled all listener using a simple if with boolean parameter. Because I have try but setClickable not work with custom listener on child view. I think the bug persists because this is a time problem. I block all section listeners too late |
Google's DrawerLayout cancels children view touches by itself when it is not in the |
I'm having the same second problem vedhavyas is facing in #33. Any update on this? Thanks! |
I'm working to move the ripple effect to another lib, because this bug is related to some others. |
In most google apps, when you click a section, the drawer is automatically disabled, avoiding new clicks. Nevertheless, you can click a few sections at once in the example app. That leads to force close (3 sections for me), probably because of an out of memory error.
The text was updated successfully, but these errors were encountered: