我有一個播放按鈕的歌曲列表視圖 .. 現在我需要點擊這個播放按鈕的基礎上,他們的立場,並點擊更改後選擇一個暫停按鈕..但我必須在我的活動內沒有在適配器(getView)中做到這一點..任何建議!?處理點擊圖像按鈕的活動列表視圖
lv.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
//productList is my ArrayList<Product> and
//Product is my Serializable class that holds
// items that is in mysql database
Product selectedProduct = productList.get(position);
}
});
請具體說明和更新你的問題 –
我想我的追求離子是比特定的 – Mehran