markormesher / android-fab

Floating action button (FAB) for Android with speed-dial menu functionality
Apache License 2.0
211 stars 29 forks source link

Checking whether or not the SpeedDialMenu is open #28

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hey there again

I know there is a listener which we could use to set our own property to track whether or not the SpeedDialMenuis open, but it would be nice to have a simple getter for speedDialMenuOpen field instead so on methods like onBackPressed the SpeedDialMenu can be closed via the back button too.

markormesher commented 6 years ago

Hey @dkroukamp, thanks for the suggestion. I completely agree that this would be a nice addition - I'll make sure it goes into the next release.

markormesher commented 6 years ago

Fixed in v2.2.2 - should be available on Bintray shortly.