I have an auto-complete drop down list, I want to make some action when I click on one item in the list.. is there any listener or event 开发者_如何学Gohandler to to this ??
use this, this will provide you method called setOnItemClickListener().
private AdapterView.OnItemClickListener searchItemClicked = new AdapterView.OnItemClickListener()
{
    public void onItemClick(AdapterView<?> parent, View view, int position, long id)
    {
    //your code here
    }
}
It's important to note that OnItemSelectedListener does not activate when a user selects a dropdown.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论