title: Doing 2 things in background with asynctask
body: <p>I want create splash screen. In one hand, i retrieve informations from server by webservice dans in the other hand, my splash screen has a progresswheel (<a href="https://github.com/Todd-Davies/ProgressWheel" rel="nofollow">https://github.com/Todd-Davies/ProgressWheel</a>).</p>
  
  <p>The thing is my wheel is blocked during my Webservice is eecuting in an asynctask. </p>
  
  <p>I tried to executeOnExecutor() on my asynctask for the wheel but it does not work.</p>
  
  <p>There is my async task for the wheel : </p>
  
  <pre><code>private class LogoTask extends AsyncTask&lt;Void, Void, Void&gt; {
  
          @Override
          protected Void doInBackground(Void... params) {
              pw = (ProgressWheel) findViewById(R.id.pw_spinner);
              pw.spin();
              return null;
          }
      }
  </code></pre>
  
  <p>My asynctask for Webservice is a classic one (get infos from database, parse in JSON and send to application. It works fine. 
  I use <strong>task.get()</strong> to get my informations. I heard this function force code to wait the end of the Asynctask to continue. May be is this ?</p>
  
  <p>I just want my progressWheel spin during my WebService retrieve informations.</p>
  
  <p>How can i do that ?</p>
  
  <p><strong>EDIT :</strong>
  Can i have 2 differents asynctask for that ? One for my networks operations and the other for spin ? Is it possible ? </p>