andremion / CounterFab

A FloatingActionButton subclass that shows a counter badge on right top corner

Home Page:https://play.google.com/store/apps/details?id=com.andremion.counterfab.sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to configure for scroll recycler view scroll behavior

waseem786 opened this issue · comments

I added CounterFab over a recycler view.
What I want to know is, how can I configure CounterFab to hide when scroll the recycler view? Anyone know any trick? or any methods?

I used that behaviour here -> https://github.com/andremion/Louvre
You need to use CoordinatorLayout as the parent container of the RecyclerView and set
the app:layout_behavior attribute of CounterFab as some behaviour customized by you (see com.andremion.louvre.util.FabBehavior)