关于listview getview()中每个条目中的按钮的点击事件,获取当前项目

   public  View  getView (int 位置,View  convertView,, ViewGroup 父母),{      ,,if  (convertView  !=, null), {   ,,,,,view =, convertView;   ,,},{else    ,,,,,,view =, mInflater.inflate (.....…);   ,,,}   ,,,,,delButton =,(按钮),view.findViewById (R.id.del_btn);   ,,,,,delButton  .setTag(位置+ " ");   ,,delButton.setOnClickListener (new  View.OnClickListener (),   ,,{   ,,,,,,,public  void  onClick (View  v), {   ,,,,,,,,int  index =, Integer.parseInt (v.getTag () .toString ());      ,,,,,,,,,,,selectData =, listData(指数);      ,,,,,,,}   ,,}   }

指数就是当项目前的索引

关于listview getview()中每个条目中的按钮的点击事件,获取当前项目