how to set text to textview from a string Arraylist
<p>how can i set string arraylist "mylist[0]" as a text to a textview ? </p>

<pre><code>Intent in= getIntent();
        ArrayList&lt;String&gt; mylist = in.getStringArrayListExtra("rname");

        TextView t = (TextView) findViewById(R.id.textView);
        t.setText(mylist[0]);//getting error here saying "array type expected"
    }
</code></pre>