Code example for AutoCompleteTextView

Methods: showDropDown

   _button = new ImageButton(context);
   _button.setOnClickListener(new OnClickListener() {
           public void onClick(View v) {
   this.addView(_button, new LayoutParams(LayoutParams.WRAP_CONTENT,
    * Sets the source for DDLB suggestions. 
    * Cursor MUST be managed by supplier!! 
    * @param source Source of suggestions. 
    * @param column Which column from source to show. 
public void setSuggestionSource(Cursor source, String column) {
Experience pair programming with AI  Get Codota for Java