Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating Filter By activity from ListView Volley using JSON

 
benito kamelas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone!

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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic