+ 1
Filter json by its category_id in java
Hi everyone, I am parsing my json through volley library and now I want to filter it by category, for ex, when i press the specific button it should show cities that have category_id=1 and hide others
7 odpowiedzi
+ 1
Read about filter design pattern. It may help you in this.
+ 1
It is also known as Criteria design pattern. Check this link:
https://www.tutorialspoint.com/design_pattern/filter_pattern.htm
+ 1
can you show me an example with recycler view
+ 1
thank you
+ 1
No I still can’t fix it but thanks for your response
0
Sorry but I'm not skilled enough in Java to do that. I knew the pattern so I suggested it...
0
Valon Abdi So, it worked?