private static class MyAdapter extends BaseAdapter {
private LayoutInflater mInflater;
public MyAdapter(Context context) {
mInflater = LayoutInflater.from(context);

}

 
public int getCount() {
return code.length;
}

public Object getItem(int position) {
return position;
}

public long getItemId(int position) {
return position;
}

 

public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView == null) {
convertView = mInflater.inflate(R.layout.listview,null);
holder = new ViewHolder();
holder.text = (TextView) convertView.findViewById(R.id.textViewF);
holder.data = (TextView) convertView.findViewById(R.id.TextViewS);
holder.state = (TextView) convertView.findViewById(R.id.textViewD);
holder.Image = (ImageView) convertView.findViewById(R.id.imageViewS);
 
//D는 눌렸는지 안눌렸는지 체크하는것
//F는 데이터
 
//IMAGEVIEWS IMAGE
convertView.setTag(holder);

} else {
holder = (ViewHolder) convertView.getTag();
 
}
holder.text.setText(com[position]+"-"+code[position]+"-"+wname[position]);
holder.data.setText(wname[position]);
holder.state.setText("0");
int lid = Res.getIdentifier("d_"+code[position], "drawable", PName);
holder.Image.setImageResource(lid);
// holder.text2.setText(com[position]+"-"+code[position]+"-"+wname[position]);


// holder.text.setOnCheckedChangeListener(listner);
 
 
return convertView;
}
 
 
public static class ViewHolder {
// public TextView text2;
public TextView text,data,state;
public ImageView Image;
}
}

뭐 대충 이런 소스입니다..
그래서, OnCreate에서 리스너 설정은 해줬고
data 값을 읽어오고 싶은데 도저히 방법을 모르겠습니다.
조언 부탁드립니다.