In my application I'm using Lazy loading technique.I referred this tutorial . In emulator(android 2.1) image is loading,but in device(android 2.3.4) image is not loading.Only android icon is loading.
my getview code:
if (convertView == null) {
//this should only ever run if you do not get a view back
LayoutInflater inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
convertView = inflater.inflate(R.layout.homelistrow, null);
holder = new ViewHolder();
image = (ImageView) convertView.findViewById(R.id.icon);
holder.text = (TextView) convertView.findViewById(R.id.name_label);
convertView.setTag(holder);
} else {
holder = (ViewHolder) convertView.getTag();
}
//
imageLoader.DisplayImage(kickerimage[position], image);
// holder.image.setImageBitmap(bitmap);
////// items=itemsarray[position];
holder.text.setText(itemsarray[position]);
I am totally confused why this is happening in device.Help to solve this.