Friday, 30 December 2016

php - using autocomplete value to get new value from sqlite and populate edittext

I have a autocomplete code that picks and displays options from the sqlite db based on the first letter/character entered. I want, when the right option is selected from list of displayed options, the value to be passed to a query and the result passed to an edittext field. The autocomplete change listener has a method




afterTextChanged(Editable s)


but it only seemingly accepts one character (not whole string). Any advice on how I can go about this? or an online resource to do further reading?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...