Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AutoCompleteTextView filter not working

 
Ruben Matt
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i have two AutoCompleteTextView (group and instalation). After i choose the group, the Instalation should filter the information depending on the group but it's not working. If in the sql line i take out the WHERE part it works fine (but shows me all the information and i don't want that).





What am i doing wrong??
 
Ruben Matt
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out why is wasnt working, i was calling it just when the intent began so the field is empty, i have to call it after i fill the TextField.
 
namita pani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use setontouch instead of setonclick
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!