I'm wondering how to use this multichoice alertdialog, if it's possible, as an interface to select different filters to apply to a view. Specifically to search a database for the entries with matching values under specific columns.
For example the entry CAR has columns BRAND, MODEL and TYPE to it and I want to find all SEDANS under NISSAN. All I have to do is check the brand NISSAN and the type SEDAN in the alertbox and click ok and it'll show only the entrees with those 2 values.
I'm sure that using multichoice alertdialog for search filtering is possible but what concerns me more is how it can work for searching multiple columns in a database through just one multichoice. Is it possible or is it just more advisable to create a separate alertdialog for each column.
Aucun commentaire:
Enregistrer un commentaire