I have 2 AutoCompleteTextView with 2 onTouchListener, the problem is that, when I enter the first time in the activity, the touch listener triggered before touch the something in my activity..
Does anyone know the reason?? Is there a solution to not triggered it the first time I enter in activity?
EDIT
I have the same problem with OnItemSelectedListener on a spinner, what can i do?? This is my listener:
country.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
filter();
}
});
Thanks in advance