title: Using picasso library with a circle image view
body: <p>I am looking at using the Picasso library to download an image from URL and pass this into circle image view, but since picasso requires that you pass in an actual imageView I have come to a standstill on how to do it</p>
  
  <p>I am using the picasso library from here <a href="http://square.github.io/picasso/">http://square.github.io/picasso/</a>
  and the circle image view class from here <a href="https://github.com/hdodenhof/CircleImageView">https://github.com/hdodenhof/CircleImageView</a></p>
  
  <p>Here is the start of my code to get the image</p>
  
  <pre><code>private void getData() {
  
      userName.setText(prefs.getString("userName",""));
      jobTitle.setText(prefs.getString("profile",""));
      userLocation.setText(prefs.getString("location",""));
  
  
  
  
      // ??????    
  
      // Picasso.with(context).load(image link here).into(imageview here);
  
      //CircleImageView img = new CircleImageView(this);
      //img.setImageResource();
      //img.setImageBitmap();
      //img.setImageDrawable();
      //img.setImageURI();
  
  }
  </code></pre>
  
  <p>Edit:</p>
  
  <p>here is the xml for the circleImageView</p>
  
  <pre><code>&lt;michael.CircleImageView
   android:layout_width="100dp"
   android:layout_height="100dp"
   android:src="@drawable/shadow"
   android:layout_gravity="center"
   android:layout_marginTop="16dp"
   app:border_width="2dp"
   app:border_color="#274978"
   android:id="@+id/circleImageView"
  </code></pre>