title: Pass picasso into listview
body: <p>i can't "pass Picasso" to the adapter. i have to create my own custom adapter. It may even be based on the SimpleAdapter. Like this:</p>
  
  <p>aldigim_profil_URL is image URL</p>
  
  <pre><code> public class MyAdapter extends SimpleAdapter {
  
      public MyAdapter(Context context, List&lt;? extends Map&lt;String, ?&gt;&gt; data, int resource, String[] from, int[] to) {
          super(context, data, resource, from, to);
      }
  
      public View getView(int position, View convertView, ViewGroup parent) {
  
          View v = super.getView(position, convertView, parent);
  
          ImageView img = (ImageView) v.getTag();
          if (img == null) {
              img = (ImageView) v.findViewById(R.id.alinan_list_profil_url);
              v.setTag(img);
          }
  
          String url_test ="http://" + aldigim_profil_URL.toString();
          // get the url from the data you passed to the `Map`
          String url = ((Map)getItem(position)).get(url_test);
          // do Picasso
          Picasso.with(v.getContext()).load(url).into(img);
  
          // return the view
          return v;
      }
  }
  </code></pre>
  
  <p>and my listadapter is like this;</p>
  
  <p>contactList is return image url list from Json Websercive</p>
  
  <pre><code>        ListAdapter adapter = new MyAdapter(getActivity(), contactList,
                  R.layout.activity_list_alinan_gorevler, new String[]{"Gorevi_Veren", "Gorev_Adi", "Tarih"},
                  new int[]{R.id.alinan_list_gorev_veren, R.id.alinan_list_gorev_adi, R.id.alinan_list_tarih});
          listView.setAdapter(adapter);
  </code></pre>
  
  <p>and my error is</p>
  
  <p>String url = ((Map)getItem(position)).get(url_test);</p>
  
  <blockquote>
    <p>Error:(287, 54) error: incompatible types: Object cannot be converted to String</p>
  </blockquote>