android: making ON/OFF button : <p>I have a button on the main_menu XML file, this button will filter some of the things in an RecyclerView.</p>

<p>When I click the button it Filters all the values I want, and if I click it a Second time it goes back to being unfiltered, the Code I need is the ON/OFF Function, it doesn't have to be a function, not the Filter code.</p>

<p>Thanks for all kinds of Feedback my great souls</p>
