title: Android: ListView doesn't populate completely
body: <p>I am trying to build a RSS feed reader for my application and I have a weird problem. To implement this feed I use a ListView that I populate from an ArrayList I customised.</p>
  
  <p>I know that the ArrayList is full with all the fields I want to display (I print all of them in my Logcat), but when I run the app, not all the cells in my ListView fill with the information they are supposed to, the major part of them display TextView. It seems to be quite random, but the one that always works correctly is the first element. The other ones some times do.</p>
  
  <p>And another strange thing is that the OnItemClickListener works perfectly, even I am unable to see the information in my elements.</p>
  
  <p>Thank you very much in advanced.</p>
  
  <p>I attach my getView code:</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
      View v = convertView;
      AdapterWrapper wrapper;
      if (v == null) {
          LayoutInflater li = (LayoutInflater) this.getContext()
                  .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
          v = li.inflate(R.layout.itemrow, null);
          wrapper = new AdapterWrapper(v, cont);
          v.setTag(wrapper);
      } else {
          wrapper = (AdapterWrapper) convertView.getTag();
          RssItem o = this.getItem(position);
          if (o != null)
              wrapper.populateFrom(o);
          parent.refreshDrawableState();
      }
      return v;
  }
  </code></pre>