title: How to create navigation drawer with 2 array
body: <p>I have two array like below</p>
  
  <p><code>DB_id = [1,3,5,6,9]</code></p>
  
  <p><code>DB_name = [a,b,c,d,e]</code></p>
  
  <p>I set <code>DB_name</code> array for my navigation drawer list like this :</p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(getActionBar().getThemedContext(), android.R.layout.simple_list_item_1,name);
  </code></pre>
  
  <p>but I don't know how can I set DB_id as pos or id</p>
  
  <pre><code>public void onItemClick(AdapterView&lt;?&gt; parent, View view, final int pos, final long id){
              drawer.setDrawerListener( new DrawerLayout.SimpleDrawerListener(){
                  @Override
                  public void onDrawerClosed(View drawerView){
                      super.onDrawerClosed(drawerView);
                      String PosTxt = Integer.toString((pos+1));
                      aString = "SELECT * FROM MainContent WHERE GroupID LIKE '"+PosTxt+"'";
                      myBrowser.loadUrl("javascript:fill_comment()");
                  }
              });
              drawer.closeDrawer(navList);
          }
  </code></pre>