의 인덱스 0을 설정할 수 없습니다. 스크롤하여 항목 목록을 클릭하면 주먹 인덱스를 설정할 수 없습니다. 설정되지 않았습니다.리스트 뷰 스크롤 탑이
public void onItemClick(AdapterView<?> arg0, View arg1, int index, long arg3) {
// TODO Auto-generated method stub
//ImageView imgNew = (ImageView) arg1.findViewById(R.id.imgIcon);
//imgNew.setImageResource(R.drawable.push);
ImageView imgOld = (ImageView) listView1.getChildAt(0).findViewById(R.id.imgIcon);
imgOld.setImageResource(R.drawable.push);
}
무엇을하려고합니까? – jeet