@Override
public View getView(int position, View convertView, ViewGroup parent) {
// TODO Auto-generated method stub
try{
if (convertView == null) convertView = View.inflate(context, R.layout.testgridview, null);
if(null != convertView){
v_image = (ImageView)convertView.findViewById(R.id.photoimage);
//v_image = (ImageView)convertView;
Bitmap bmp = BitmapFactory.decodeFile(sdcardpath.get(position).toString());
bmp = Bitmap.createScaledBitmap(bmp, 320, 240, false);
v_image.setImageBitmap(bmp);
}
}catch (Exception e) {
// TODO: handle exception
Log.d("ErrorLog", "ImageAdapter GetView : " + e.toString());
}
return convertView;
}
아답타이구요 -ㅅ-
체크박스는 제대로 생성이 되는데..
체크 언체크 시.. 스크롤을하면 체크햇던 개 사라지거나.. 다른 인덱스로 이동해서 체크가 되어 잇네요..
이거.. getview로 사용할때 제가 계속 막히는 부분인데..
누가 친절하게 대답좀 해주실분없나여 ㅠㅠ 혼자 공부하기 넘힘드네여..ㅜ.ㅜ.ㅜ 고수님들 답변기다릴게여