I have a screen as shown in below screenshot. I have a category consisting of "Vegetables", "Fruits" and "Snacks" which is shown at top via a card view. Now what I want is to hide this portion while scrolling down and show it only when scrolling up.
How do I do this?
[Additional Info: For the products scrolling, "Scroll view" is used. Also this entire screen is a fragment.]