Android Question SearchView

le_toubib

Active Member
Licensed User
Longtime User
Hi all
as the autocompleteeditbox was too slow with alarge number of items, I tried the search view, however :
1- keyboard auto suggestion was not disabled on my HTC one m8, leading to erronius results.
2- only one suggestion appeared in the list view forcing me to write more letters in the box.

Iwonder how to fix both issues our better can we have a better commented modules so that we (beginners) can modify it as needed??
Tnx folx
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. The input type is set in the Initialize sub. This is the value of NO_SUGGESTIONS. It is possible that the soft keyboard that you are using ignores this flag. You can try it with a different keyboard.

2. Not sure that I understand. The minimum length limit is set to 1. All matches should show.

can we have a better commented modules so that we (beginners) can modify it as needed??
I don't think that more comments will really help. The code is quite clear maybe except of the indexing step which is not a simple concept.

If you have any specific question then I would be happy to answer.
 
Upvote 0
Top