title: The method putExtra(String, boolean) in the type Intent is not applicable for the arguments (String, CarouselDataItem)
body: <p>I'm getting an error in eclipse stating </p>
  
  <pre><code>"The method putExtra(String, boolean) in the type Intent is not applicable for the arguments (String, CarouselDataItem)"
  </code></pre>
  
  <p>How might this be avoided? I'm attempting to implement an image carousel in Android and I cannot seem to avoid this issue. I've tried changing the type of docu to boolean - however that simply causes more issues. </p>
  
  <p>Any suggestions are greatly appreciated. </p>
  
  <pre><code>public void onItemSelected(AdapterView&lt;?&gt; arg0, View arg1, int arg2, long arg3) {
           CarouselDataItem docu =  (CarouselDataItem) m_carouselAdapter.getItem((int) arg3);
  
              Intent intent = null;
  
              if (docu .equals("John F. Kennedy"))
                  intent = new Intent (MainActivity.this, Audio.class);
              if (docu .equals("Lyndon B. Johnson"))
                  intent = new Intent (MainActivity.this, Video.class);
              if (docu .equals("Richard Nixon"))
                  intent = new Intent (MainActivity.this, Photos.class);
              if (docu .equals("Gerald Ford"))
                  intent = new Intent (MainActivity.this, Written.class); 
              if (intent != null) {
                  intent.putExtra("KEY", docu );
                  startActivity(intent);
              }
          };
  
      public void onNothingSelected(AdapterView&lt;?&gt; arg0) {}
  
  }
  </code></pre>