”Tap filter” inside application

Soo how can i easily create a filter system like this? I have no idea where to start or how to start since i’ve never worked with any kind of ”filtering” before.

Thanks!