@Override public View newView(Context context,Cursor cursor,ViewGroup viewGroup){
  final View itemLayout=mInflater.inflate(R.layout.contact_list_item,viewGroup,false);
  final ViewHolder holder=new ViewHolder();
  holder.text1=(TextView)itemLayout.findViewById(android.R.id.text1);
  holder.text2=(TextView)itemLayout.findViewById(android.R.id.text2);
  holder.icon=(QuickContactBadge)itemLayout.findViewById(android.R.id.icon);
  itemLayout.setTag(holder);
  return itemLayout;
}

@ Override public View newView ( Context context , Cursor cursor , ViewGroup viewGroup ) { final View itemLayout = mInflater . inflate ( R . layout . contact_list_item , viewGroup , false ) ; final ViewHolder holder = new ViewHolder ( ) ; holder . text1 = ( TextView ) itemLayout . findViewById ( android . R . id . text1 ) ; holder . text2 = ( TextView ) itemLayout . findViewById ( android . R . id . text2 ) ; holder . icon = ( QuickContactBadge ) itemLayout . findViewById ( android . R . id . icon ) ; itemLayout . setTag ( holder ) ; return itemLayout ; }
overrides newview ( ) to inflate the list item views .
