title: Passing Extras to listView ArrayAdapter
body: <p>I have 2 buttons, when you click them, it launches a new listView activity. Before it starts the activity, I make a bundle, putString depending on which button was clicked and putExtras.</p>
  
  <p>In the listView activity, I have two string arrays. I want the ArrayAdapter to getExtras and read the variable so I know which button was pressed to get there and then I'll know which string array to load into the ArrayAdapter.</p>
  
  <p>Here is my idea but the ArrayAdapter doesn't accept the string, even though s = the name of one of the string arrays. Also, I'm not sure if I'm approaching this in the best way.</p>
  
  <pre><code>Bundle b = this.getIntent().getExtras();
      String s = b.getString("TEXT");
      setListAdapter(new ArrayAdapter&lt;String&gt;(this, R.layout.list_item, s));
  </code></pre>