imageView;
} ! @Override
public View getView(int position, View convertView, ViewGroup parent) {
View view = convertView;
ViewHolder viewHolder;
if (view == null) {
view = inflater.inflate(R.layout.item, parent, false);
viewHolder = new ViewHolder();
viewHolder.textView = (TextView) view.findViewById(R.id.text);
viewHolder.imageView = (ImageView) view.findViewById(R.id.image);
view.setTag(viewHolder);
}
viewHolder = (ViewHolder) view.getTag();
viewHolder.textView.setText("Random string");
viewHolder.imageView.setBackgroundColor(R.color.black);
return view;
} ViewHolder