ArrayAdapter type cast from android docs example
<p>I am trying to create a list of strings from my arrays.xml file, as found in the android docs too. This is what they use:</p>

<pre><code>ArrayAdapter adapter = ArrayAdapter.createFromResource(context, R.array.colors, android.R.layout.simple_spinner_item);
</code></pre>

<p>eclipse is warning that the ArrayAdapter instance is a raw type. Should it really be:</p>

<pre><code>ArrayAdapter&lt;CharSequence&gt; adapter = ...;
</code></pre>

<p>?</p>

<p>Thanks</p>
