In my page I have two parts. One is drop down which contains multiple categories. And other one contains products of all categories. Like I showed in image. When user Clicking any category then the page get scroll to the appropriate products of choosed category.
Up to now I have tried:- First of all, I need to bind dynamically Category names in the spinner. After that I need to bind the products with the Category name having the id of spinner's value. So, when user choosing anything I need to get the value from the spinner and after that I need to match that value with the products elements. Once it get matched then my page should scroll to that particular element. For this anybody having any idea?enter image description here