728x90
LinearLayout cmdArea = (LinearLayout) view.findViewById(R.id.item_view_layout);
cmdArea.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
getItem(position).setCount(124);
notifyDataSetChanged(); //데이터 변화 갱신
Toast.makeText(v.getContext(), "클릭 되었습니다.", Toast.LENGTH_SHORT).show();
}
});
댓글