Code example for AutoCompleteTextView

Methods: setAdapter

0
    public void setOnItemClickListener(OnItemClickListener l) {
        input.setOnItemClickListener(l);
    } 
 
    public <T extends ListAdapter & Filterable> void setAdapter(T adapter) {
        input.setAdapter(adapter);
    } 
 
    public String getText() {
        return input.getText().toString();
    } 
 
    public void setText(String text) {
        input.setText(text);
    } 
 
    public void setListSelection(int position) {
        input.setListSelection(position);
    } 
 
    public void dismissDropDown() {