title: Custom ListView adapter, strange ImageView behavior
body: <p>I have a custom <code>ListView</code> <code>Adapter</code>, with which I'm creating rows for a list. My problem is though, that it doesn't seem to be distinguishing the <code>ImageView</code>s, from each other. It seems to be randomly picking <code>ImageViews</code> to chuck into place as I scroll up and down. The text information (omitted from this snippet) does not break. It works as one would expect.</p>
  
  <p>Here is the relevant method of my <code>Adapter</code>:</p>
  
  <pre><code>  public View getView( int position, View convertView, ViewGroup parent )
    {
      View v = convertView;
  
      if( v == null )
      {
        LayoutInflater vi = (LayoutInflater)getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        v = vi.inflate( R.layout.generic_row, null );
      }
  
      // find the image
      ImageView favImage = (ImageView)v.findViewById( R.id.toggle_favorite );
  
     // when clicked...
     favImage.setOnClickListener( new OnClickListener() {
  
       @Override
       public void onClick( View v )
       {
         // make the gray star a yellow one
         int newImage = R.drawable.ic_star_yellow_embossed;
         ((ImageView)v).setImageBitmap(BitmapFactory.decodeResource(getContext().getResources(), newImage));
       }
  
     });
  
    return v;
    }
  </code></pre>