title: Android asyncTask cant pass ArrayList<> as param
body: <p>I have this asyncTask:</p>
  
  <pre><code>public class CreateZipFile extends AsyncTask&lt;ArrayList&lt;String&gt;, Integer, File&gt; {
  
      Context context;
  
      public CreateZipFile(Context context){
          this.context = context;
      }
  
      protected File doInBackground(ArrayList&lt;String&gt;... files) {
          for(String file : files){
          //DO SMTH
          }
          return null;
      }
  
      public void onProgressUpdate(Integer... progress) {
  
      }
  
      public void onPostExecute() {
  
      }
  }
  </code></pre>
  
  <p>however in my foreach loop I get error saying required ArrayList found String. Is it possible that asynctask converts my arraylist to String? </p>