DrawerBehavior
DrawerBehavior copied to clipboard
Add Open/close/query
The open/close methods in the DrawerBehavior class don't require any arguments (parent and child views). I had to switch the SimpleArrayMap to an ArrayMap to allow this, since we couldn't iterate through the delegates. Is there any special reason for storing multiple BehaviorDelegates though? The DrawerBehavior class is instantiated for each view that sets the behavior programmatically or by XML, so why assume there's multiple views with delegates?
Is there any special reason for storing multiple BehaviorDelegates though?
Pre-dates open sourcing when it was being used for multiple views at once. The assumption can be removed.