I'm trying to determine when the drawer reaches a certain position and do some visual updates in my app.
The only way I see for that is the drawerPositionDidChange delegate. The only problem with this is that the delegate is called at least 5 (five !) time during a transition, so it can't be used reliably.
Any way to determine if the drawer changed from .closed to .open just once, not five times ?
I'm trying to determine when the drawer reaches a certain position and do some visual updates in my app. The only way I see for that is the drawerPositionDidChange delegate. The only problem with this is that the delegate is called at least 5 (five !) time during a transition, so it can't be used reliably.
Any way to determine if the drawer changed from .closed to .open just once, not five times ?