How To Set the Text of an item in ListView
<p>I have a list of ListItems's in my listview. The ListItem has a name instance variable. I am trying to get the text of each of the items just to be the name.</p>

<p>How can I do this? </p>

<pre><code> public class List extends ListActivity  {
    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
          setListAdapter(new ArrayAdapter&lt;ListItem&gt;(this, R.layout.list_item, Previousclass.LinkedList-from-previous-class));
</code></pre>

<p>Right now it is just displaying the memory location of each item i.e. ListItem@47234c10</p>
