Android Activity with Abstract Base Class throws a compile error "is not abstract and does not overrid abstract method..."
<p>I have a base class that extends ListActivity, that I want to use to implement a lot of common code used on multiple different Activity implementations.</p>

<p>I want to make this base class abstract to enforce implementation of a method on the subclasses.</p>

<p>If I write a base implementation of the method, and override it in the subclasses, everything works fine.</p>

<p>If I make the method abstract, I get the following compile error:</p>

<pre><code>XXXX.subapps.athletics.AthleticsNewsActivity is not abstract and does not override abstract method getListItems() in XXXX.subapps.BaseCategoryListActivity
</code></pre>

<p>Base Class:</p>

<pre><code>public abstract class BaseCategoryListActivity extends ListActivity
{
    ....
    abstract ArrayList&lt;String&gt; getListItems();
    ....
}
</code></pre>

<p>Example subclass:</p>

<pre><code>public class AthleticsNewsActivity extends BaseCategoryListActivity
{
    ....
    public ArrayList&lt;String&gt; getListItems()
    {
       ...implementation details....
    }
}
</code></pre>
