How do I enable clicking in ListView
<p>I want to get the text element that makes up my ListView items.</p>

<pre><code>myList = (ListView) findViewById(R.id.list_view);
adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, partialNames);
myList.setAdapter(adapter);
</code></pre>

<p>I am not extending ListActivity so I can't call a simple onListItemClick function.</p>

<p>I have tried using the following:</p>

<pre><code>myList.setOnItemClickListener(adapter.?)
</code></pre>

<p>, but I don't know what parameters I need for the constructor</p>

<p>How can I capture the string value in a particular ListView item when the user clicks on the row?</p>
