title: Can I pass different types of parameters to an AsyncTask in Android?
body: <p>I want to implement a generic, thread save class which takes the RessourceId of an ImageView and the Url (http) where the desired image file is stored. It'll download the image and fills the src of the ImageView in the UiThread.</p>
  
  <p>I thought <a href="http://developer.android.com/reference/android/os/AsyncTask.html" rel="noreferrer">AsyncTask</a> would be the best thing for me. However I noticed that I only can pass one type of parameters to the <code>doInBackground()</code> Method. Like an Array of Urls. Is that true? What would u suggest me?</p>