title: add elements to specific index in ArrayList or ArrayAdapter
body: <p>This maybe looks stupid and/or easy question but I couldn't done this.</p>
  
  <p>I'm getting data from database (only). I need get both <code>element</code> and its <code>id</code> at the same time. For example,</p>
  
  <pre><code>+----------------+
  |  id | username |
  +----------------+
  | 1   | user1    |
  | 12  | user2    |
  | 103 | user3    |
  +----------------+
  </code></pre>
  
  <p>When I populate the <code>ArrayList</code> or <code>ArrayAdapter</code> (or maybe something else), I want to get the both <code>id</code> and <code>username</code>.</p>
  
  <p>I tried to use <code>add(int index, String object)</code> method in ArrayList and <code>insert(String object, int index)</code> method in ArrayAdapter. But the both methods return me same error:</p>
  
  <blockquote>
    <p>java.lang.IndexOutOfBoundsException: Invalid index 12, size is 1</p>
  </blockquote>
  
  <p>How can I solve this problem?</p>
  
  <p>Thanks.</p>