Android for Dummies code error
<p>In <em>Android app Development for Dummies</em> and I am getting an error after the last bit of code.</p>

<blockquote>
  <p>The method <code>setListAdapter(ArrayAdapter&lt;String&gt;)</code> is undefined for the type <code>ReminderListActivity</code>  </p>
</blockquote>

<p>The code is as follows:</p>

<pre><code>package com.dummies.android.taskreminder;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

public class ReminderListActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.reminder_list);

    String[] items = new String[] { "Foo", "Bar", "Fizz", "Bin"};
    ArrayAdapter&lt;String&gt; adapter =
      new ArrayAdapter&lt;String&gt;(this, R.layout.reminder_row, R.id.text1, items);
    setListAdapter(adapter);
  }
}
</code></pre>
