Hello!
I want to use SearchView to my project:
https://www.b4x.com/android/forum/t...ul-alternative-to-autocompleteedittext.19379/
I'm trying to implement a functionality similar to Google Places Autocomplete without Google API!
So, I have a flat file with ~55000 rows with streets within the corresponding areas. I load only the 1st index (lightning fast process, thank Erel!!! ) because I don't need to show "SubStrings" and all are working fine.
My only problem is that after street name and before area, I need to type the street number and then the ListView stops loading results because of not matching!
The row format in the flat file is:
StreetName, Area, PostCode
and I want to type:
StreetName 99, Area, PostCode
Is there any way to do this, assuming that it isn't possible to have the street numbering into the file?
Bonus question: Is it possible to use CustomListView for displaying/selecting results instead of the simple ListView?
Thank you in advance!
I want to use SearchView to my project:
https://www.b4x.com/android/forum/t...ul-alternative-to-autocompleteedittext.19379/
I'm trying to implement a functionality similar to Google Places Autocomplete without Google API!
So, I have a flat file with ~55000 rows with streets within the corresponding areas. I load only the 1st index (lightning fast process, thank Erel!!! ) because I don't need to show "SubStrings" and all are working fine.
My only problem is that after street name and before area, I need to type the street number and then the ListView stops loading results because of not matching!
The row format in the flat file is:
StreetName, Area, PostCode
and I want to type:
StreetName 99, Area, PostCode
Is there any way to do this, assuming that it isn't possible to have the street numbering into the file?
Bonus question: Is it possible to use CustomListView for displaying/selecting results instead of the simple ListView?
Thank you in advance!
Last edited: