@Override public View getView(int position, View convertView, ViewGroup parent) { View view = null; ViewHolder holder = null; if (convertView != null) { view = convertView; } else { view = LayoutInflater.from(context).inflate(R.layout.common_layout, parent, false); } holder = (ViewHolder) view.getTag(); if (holder == null) { holder = new ViewHolder(); holder.imageView = (ImageView) view.findViewById(R.id.common_image); holder.textView = (TextView) view.findViewById(R.id.common_text); holder.button = (Button) view.findViewById(R.id.common_button); view.setTag(holder); } Myself myself01 = (Myself) getItem(position); holder.imageView.setImageResource(myself01.getImageId()); holder.textView.setText(myself01.getName()); return view; }