title: Android setViewValue cannot cast to ImageView
body: <p>Setting the ViewBinder to alternate the image in the listView:</p>
  
  <pre><code>            SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
                      R.layout.contacts_row, c, new String[] {
                              c.getColumnName(1), c.getColumnName(2) },
                      new int[] { R.id.c_title, R.id.c_description });
  
              adapter.setViewBinder(new SimpleCursorAdapter.ViewBinder() {
                  public boolean setViewValue(View view, Cursor c, int columnIndex) {
  
                      // Variant 1: displayImage = (ImageView) view;
                      // Variant 2: displayImage = (ImageView)findViewById(R.id.img);
  
                      displayImage.setImageResource(R.drawable.good);
  
                      // }
  
                      return true;
  
                  }
              });
  
              setListAdapter(adapter);
  </code></pre>
  
  <p>Call stack:</p>
  
  <ul>
  <li>java.lang.ClassCastException: android.widget.TextView cannot be cast
  to android.widget.ImageView </li>
  <li>E/AndroidRuntime(8693): at<br>
  xxxx.android.Contacts$2.setViewValue(Contacts.java:133)</li>
  </ul>
  
  <p>Please help to clarify why view there is an error in both Variant 1 and 2</p>