public View getView(final int position, View convertView, ViewGroup parent) {
View row = convertView;
holder = null;
LayoutInflater inflater = ((Activity) context).getLayoutInflater();
if (row == null) {
holder = new ViewHolder();
row = inflater.inflate(R.layout.grid_row_adverts, parent, false);
holder.imageItem = (ImageView) row
.findViewById(R.id.advertsRowImageView);
holder.loadingGridImageView = (ImageView) row
.findViewById(R.id.loadingImageViewGridRow);
holder.loadingGridImageView.setDrawingCacheEnabled(true);