Welcome to the Treehouse Community
Looking to learn something new?
Jourdan Dixon4,752 Points
How do you filter a list (ID, Title, Descr, CatID) based on a multi-select drop down (CatID) on the previous activity?
I'm trying to think of a good way to filter a list view of games in Activity B where each game has a category ID. I'd like to do this based on which Category IDs the user selects from a multi select drop down (CatID, CatName) on the previous activity, Activity A. I'm hitting my head against a wall, here! I'm thinking SQLite DB and create a dynamic WHERE changing the CatID Array to a csv String. Something like "WHERE CatID IN (csv String)". That's the idea, but putting it in action is another story. Does anyone know of a basic example of something like that? I can't seem to find anything. :)