Calling finish() on an Android activity doesn't actually finish
<p>I'm calling <code>finish()</code> but my activity keeps on going.</p>

<p>I have an activity which is invoked by a menu from the main activity screen.  In my activity's <code>onCreate()</code> method I have the following code fragment:</p>

<pre><code>    // Make sure there are some events in the list.
    if (theEventArrayList.isEmpty()){
        Toast.makeText(this, "Event List is empty", Toast.LENGTH_LONG).show();
        finish();
    }
    SummarizeCurrentEvent();
    graphEvents();
</code></pre>

<p>If the list is empty it puts up the Toast, and I can set breakpoint on the call to <code>finish()</code>. If I step from that in the debugger it goes to straight to <code>SummarizeCurrentEvent()</code>.   I thought <code>finish()</code> would exit the activity. Is this not the case? Where can I find out more information about this method?</p>
