我想长按Listview 中的一个 item 然后改变其背景色,并保持事件代码如下,可是由于数据多滚动才发现按一下好几页中都有设定为红色Item
这种现象怎么解决,public boolean onItemLongClick(AdapterView<?> arg0, View arg1,int arg2, long arg3)
{
     arg1.setBackgroundColor(Color.RED);
     return true
}