title: Custom Arrayadapter geview() is not called
body: <p>my <code>getview()</code> method in custom arrayadapter is not calling,i searched more but i cant able to find the solution,please provide me some suggestion.i think i done almoost all the possibility ways but i cant able to fix it.</p>
  
  <p>Here is my Activity</p>
  
  <pre><code>public ListView listView;
  TwiterlistAdapter adapter;
  List&lt;ProfileconnectedObject&gt; list;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.wood_twitlist);
  
      listView=(ListView) findViewById(R.id.listView1);
  
      list=new ArrayList&lt;ProfileconnectedObject&gt;();
  
      adapter=new TwiterlistAdapter(Wood_Twiter_Feed_list.this, R.layout.wood_twititem, list);
      listView.setAdapter(adapter);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Here is my adapter</p>
  
  <pre><code>public class TwiterlistAdapter extends ArrayAdapter&lt;ProfileconnectedObject&gt;{
  public Context context;
  List&lt;ProfileconnectedObject&gt; items;
  ProfileconnectedObject object;
  private RadioButton mCurrentlyCheckedRB;
  private boolean userSelected = false;
  private int mResourceId = 0;
  private RadioButton mSelectedRB;
  private int mSelectedPosition = -1;
  int row;
  
  public TwiterlistAdapter(Context context, int resource,
          List&lt;ProfileconnectedObject&gt; objects) {
      super(context, resource, objects);
      // TODO Auto-generated constructor stub
      this.row=resource;
      this.context=context;
      this.items=objects;
  }
  
  @Override
  public int getCount() {
      // TODO Auto-generated method stub
      System.out.println("items.size() "+items.size());
      return this.items.size();
  }
  public Context getContext() {
      return context;
  }
  
  @Override
  public View getView(final int position, View convertView, ViewGroup parent) {
      // TODO Auto-generated method stub
  
      ViewHolder holder = new ViewHolder();
      View hView = convertView;
      if (hView == null) {
  
          LayoutInflater inflater = (LayoutInflater) context
                  .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  
          convertView = inflater.inflate(row, null);
  
          holder.pic = (ImageView) hView
                  .findViewById(R.id.profile_pic);
          holder.name = (TextView) hView.findViewById(R.id.name);
          holder.radiobt = (RadioButton) hView.findViewById(R.id.radio);
          hView.setTag(holder);
      }
      else {
          holder = (ViewHolder) hView.getTag();
      }
  
      object=items.get(position);
  
  
      if (position == getCount() - 1 &amp;&amp; userSelected == false) {
          holder.radiobt.setChecked(true);
          mCurrentlyCheckedRB = holder.radiobt;
      } else {
          holder.radiobt.setChecked(false);
      }
  
  
      holder.radiobt.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
  
              if((position != mSelectedPosition &amp;&amp; mSelectedRB != null)){
                  mSelectedRB.setChecked(false);
              }
  
              mSelectedPosition = position;
              mSelectedRB = (RadioButton)v;
          }
      });
  
      if(mSelectedPosition != position){
          holder.radiobt.setChecked(false);
      }else{
          holder.radiobt.setChecked(true);
          if(mSelectedRB != null &amp;&amp; holder.radiobt != mSelectedRB){
              mSelectedRB = holder.radiobt;
          }
      }
  
     holder.name.setText(object.getP_profilename());
      return hView;
  
  }
  
  public class ViewHolder {
      TextView name;
      RadioButton radiobt;
      ImageView pic;
  }
  </code></pre>
  
  <p>}</p>