title: AsyncTask return List to Activity
body: <p>how do I return a List generated in an AsyncTask back to the Activity?</p>
  
  <p>My LoadStringsAsync class:</p>
  
  <pre><code>public class LoadStringsAsync extends AsyncTask&lt;Void, Void, List&lt;String&gt; &gt; {
  
      List&lt;String&gt; str;
  
      @Override
      protected void onPreExecute() {
          super.onPreExecute();
          ...
      }
  
      @Override
      protected List&lt;String&gt; doInBackground(Void... arg0) {
          ...
          get content from the internet
          and
          fill the list
          ...
      }
  
      @Override
      protected void onPostExecute(List&lt;String&gt; str) {
          super.onPostExecute(events);
          ...
  
      }
  }
  </code></pre>
  
  <p>and I need the List back in my Activity to work with it. (No not only to show it in ListView :P)</p>
  
  <p>Any suggestions how to do this? :-)</p>
  
  <p>Thanks so far!</p>