, , .
, HolderView getView adpater:
:
static class ViewHolder
{
TextView text1;
TextView text2;
TextView text3;
}
, :
TextView text1;
TextView text2;
TextView text3;
getView:
holder = new ViewHolder();
holder.text1 = (TextView) vi.findViewById(R.id.textView2single);
holder.text2 = (TextView) vi.findViewById(R.id.textView3single);
holder.text3 = (TextView) vi.findViewById(R.id.textView4single);
onClick, :
View parentView = (View) v.getParent();
:
text1 = (TextView) parentView.findViewById(R.id.textView2single);
text2 = (TextView) parentView.findViewById(R.id.textView3single);
text3 = (TextView) parentView.findViewById(R.id.textView4single);
im onClick , , , . , , .