Creating Filter By activity from ListView Volley using JSON
posted 2 years ago
I am trying to create a Filter By activity that is clickable from my actionbar in which some of the text that I use in my ListView Volley shows up in different categories using spinner or drop down option so when I press the filter button, it will only show what is selected. Have been trying to find different posts everywhere and the closests one is the following link: http://stackoverflow.com/questions/10973396/filter-a-listview-using-a-spinner-in-android. Although that post uses a ListView without Volley, its quite similar to the CustomAdapter I am using in my project.
He adds the following code to his adapter:
So my main question that I am asking is if somebody could give me a guidance on where to start and how I could integrate it with my JSON file.
This is my CustomListAdapter.java
If more info is needed, let me know.
Any help would be appreciated!
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad: