title: Is it possible to insert an AsyncTask in its natural queue?
body: <p>My wording might be a little hard to understand, what i want to achieve is to create an indirect asynctask queue.</p>
  
  <p>I have a method which creates an asynctask (named <code>Hide</code>) and executes it on the SERIAL_EXECUTOR. Now this method can be called several times ofc and then <code>Hide</code> asynctasks will be queued and executed one after another. But inside <code>Hide</code>'s doInBackground I would like to start another asynctask (also with SERIAL_EXECUTOR) called <code>Show</code> based on the stuff that happened before in <code>Hide</code>'s doInBackground, and I want this <code>Show</code> to be executed right after its caller <code>Hide</code>.</p>
  
  <p>So if 3 threads call the main method and queues up 3 instances of <code>Hide</code> to be executed, then I would like my actual asynctask queue to look like this:</p>
  
  <p><code>Hide1</code>,<code>Hide2</code>,<code>Hide3</code></p>
  
  <p><code>Hide1</code>,<strong><code>Show1</code></strong>, <code>Hide2</code>,<code>Hide3</code></p>
  
  <p><code>Hide1</code>,<strong><code>Show1</code></strong>, <code>Hide2</code>,<strong><code>Show2</code></strong>,<code>Hide3</code></p>
  
  <p><code>Hide1</code>,<strong><code>Show1</code></strong>, <code>Hide2</code>,<strong><code>Show2</code></strong>,<code>Hide3</code>,<strong><code>Show3</code></strong></p>