nambicompany / expandable-fab

A highly customizable 'speed dial' FloatingActionButton implementation.
https://nambicompany.github.io/expandable-fab/
MIT License
199 stars 20 forks source link

Let user scroll expandable fab when they add more than 5 Fab #26

Closed b-Istiak-s closed 3 years ago

b-Istiak-s commented 3 years ago

Feature-Request :

Expandable Fab

Usually, your screen is too big and, if I add more than 20 FAB than, they might go outta screen. For that reason I want a scrollable feature

kabumere commented 3 years ago

Hey @Istiakshovon,

I'm not inclined to implement this feature at the moment. The ExpandableFab works best in drawing a user's attention and showcasing the most prominent actions of the given screen when there's only a few number of actions available to take. I've found that most times when people start adding 10 or more actions in the ExpandableFab, some of those actions would probably be better suited for a Navigation Drawer or Overflow/Options Menu.

If however you simply have a very complex screen that actually does have 20+ relevant actions for a user to take, I still think there are better ways to list those actions for the user. Twenty or more actions in a scrollable ExpandableFab seems like a terrible user experience, in my opinion. Depending on your UI, perhaps try listing these actions in a Spinner, Dialog, or scrollable RecyclerView. There are other premade Views available beyond those that can handle lists of items as well.

So closing this for now as a 'Will not Implement'. If anything changes in the future and this does get added to a future release, I'll let you know,

b-Istiak-s commented 3 years ago

@kabumere Thanks for your reply. Usually, I forgot about Navigation Drawer. And, also thanks for reminding me that... :)

kabumere commented 3 years ago

No problem @Istiakshovon! Thank you for using the library, and I hope it comes in handy for your future projects.