Gary Thompson
ยทCreative Director, Fight Record Ltd.

Filtering ListView with Choice Chips

I have a collection of 'fighters' and I have displayed the fighters in a league format, ordering by their total points. I have added choice chips and would like to filter based it with Overall, Men or Women.

The 'fighters' are determined whether they're male or female using a 'is_female' boolean.

So I would like the 'Overall' choice to display all fighters whether male or female. Then 'Men' should display only fighters where the 'is_female' boolean is false, and the 'Women' should display fighters where the 'is_female' boolean is true.

Can anyone help me work out how to set a filter to do the above?

Many thanks

1