title: Android: How can I check a particular item in a Checked ListView?
body: <p>I am using a ListView in which only one item can be checked at a time. 
  This is my custom list_row.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:padding="10dip"
      android:textColor="#FFFFFF"
      android:textStyle="bold"
      android:textSize="20sp"
      android:checkMark="?android:attr/listChoiceIndicatorSingle"
      /&gt;
  </code></pre>
  
  <p>I populate the list in onCreate() using a normal array adapter:</p>
  
  <pre><code>ArrayAdapter&lt;String&gt; myAdapter = new ArrayAdapter&lt;String&gt;(this, R.layout.list_row, strings);
  myList.setAdapter(myAdapter);
  </code></pre>
  
  <p>When the list is displayed, I want to have, say, the 5th item in the list appear as Checked. How can I go about doing this? I know CheckedTextView has a function called setChecked(), but how can I get my 5th item from the list to apply this function on it?</p>