title: Custom view in ListView disappears while scrolling in Android
body: <p>I wrote a simple custom view for rows in ListView. It works fine, but when I try to scroll the list, I see only white rows without content. And when scrolling is over, rows continue to show again. </p>
  
  <p>This is how I draw a custom view: </p>
  
  <pre><code> @Override 
   protected void onDraw(Canvas canvas) { 
        if(poster != null) { 
             canvas.drawBitmap(poster, padding, padding, paint); 
        } 
        canvas.drawText(title, 55 + padding, 16 + padding, paint); 
   }
  </code></pre>
  
  <p>Maybe I missed something? </p>
  
  <p>P.S. This is short screencast (400kb) <a href="http://dl.dropbox.com/u/190203/test.mpeg" rel="nofollow noreferrer">http://dl.dropbox.com/u/190203/test.mpeg</a></p>