Quick AsyncTask doInBackgroun Q
<p>Say I am running </p>

<pre><code>new CommentList().execute(url);
</code></pre>

<p>If I am in the doInBackground method and I catch a Null value and inside that null value exception I try running the same one again: </p>

<pre><code>new CommentList().execute(url);
</code></pre>

<p>Will it stop running the first one?</p>

<p>Can I do this:</p>

<pre><code>if (result == null) {
    cancel(true);                           
    }

@Override
    protected void onCancelled() {
        new CommentList().execute(commentlinkurl);
    }
</code></pre>

<p>Basically I don't want the onPostExecute to run if it gets cancelled.</p>
