• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating Filter By activity from ListView Volley using JSON

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic