title: Android - Drawer navigation adapter
body: <p>I am implementing a navigation Drawer as per: <a href="http://developer.android.com/training/implementing-navigation/nav-drawer.html" rel="nofollow">http://developer.android.com/training/implementing-navigation/nav-drawer.html</a></p>
  
  <p>The tutorial only shows a single TextView with ID <strong>android:id="@android:id/text1"</strong> and this is populated for the ListView using:</p>
  
  <pre><code>mDrawerList.setAdapter(new ArrayAdapter&lt;String&gt;(
              this,
              R.layout.drawer_list_item,
              mDrawerItems));
  </code></pre>
  
  <p>Now, I want to include an ImageView inside each ListView item. This will represent the Icon for each item. </p>
  
  <p><strong>Question:</strong> Inside my xml for the list items (where the TextView text1 is located), I have included an ImageView. </p>
  
  <ol>
  <li><p>What do I need to name the ID for the ImageView?</p></li>
  <li><p>And then, do I simply add the drawable-array reference to the setAdapter like this?</p>
  
  <pre><code>mDrawerList.setAdapter(new ArrayAdapter&lt;String&gt;(
          this,
          R.layout.drawer_list_item,
          mDrawerItems,
          mDrawerIcons));
  </code></pre></li>
  </ol>
  
  <p>Thank you</p>