@Override
public View getView(int position, View convertView, ViewGroup parent) {
ImageView iv_images;
final LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
convertView = inflater.inflate(R.layout.imageadapter1, null);
iv_images = (ImageView) convertView.findViewById(R.id.iv_images1);
iv_images.setImageResource(images[position]);
return convertView;
}
java.lang.OutOfMemoryError: Failed to allocate a 9042060 byte allocation with 8030424 free bytes and 7MB until OOM