liony38 / bites-android

Automatically exported from code.google.com/p/bites-android
GNU General Public License v3.0
0 stars 0 forks source link

Add a recipe search dropdown #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Use dropdown/filter to allow the user to type in the first few letters of a 
recipe to select it quickly.

Original issue reported on code.google.com by benny.ca...@gmail.com on 5 May 2009 at 1:48

GoogleCodeExporter commented 8 years ago
Use a listview filter: 
getListView().setTextFilterEnabled(true);

from http://developer.android.com/guide/tutorials/views/hello-listview.html

Original comment by benny.ca...@gmail.com on 7 May 2009 at 7:34

GoogleCodeExporter commented 8 years ago
Needed to extend the SimpleCursorAdapter class and implement Filterable 
interface.
The runQueryOnBackgroundThread method is used to pass a charsequence for 
filtering 
on.

Original comment by benny.ca...@gmail.com on 7 May 2009 at 1:12