title: Picasso Images are loading slow in android, why?
body: <p>The images from the Picasso libery are loading in the emulater after a few clicks and very slow. Why are they loading so slow? And what do I have to do to make them load faster. I tried it with png files and jpg.</p>
  
  <p>Java code</p>
  
  <pre><code> private int a;
   ImageView ivImageFromUrl;
  
  
   protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      ivImageFromUrl=(ImageView)findViewById(R.id.iv_image_from_url);
  
  }
  
   public void buttonOnClick(View v)  {
      // do something when the button is clicked
      Button button = (Button) v;
  
      a = (byte) (Math.random() * 5);
  
      switch (a) {
          case 1:
              Picasso.with(getApplicationContext()).load("http://icons.iconarchive.com/icons/crountch/one-piece-jolly-roger/72/Luffys-flag-2-icon.png").into(ivImageFromUrl);
            break;
          case 2:
              Picasso.with(getApplicationContext()).load("http://i40.tinypic.com/2i8xait.jpg").into(ivImageFromUrl);
              break;
          case 3:
              Picasso.with(getApplicationContext()).load("http://i41.tinypic.com/2i8xahh.jpg").into(ivImageFromUrl);
              break;
          case 4:
              Picasso.with(getApplicationContext()).load("http://i42.tinypic.com/2i8xahk.jpg").into(ivImageFromUrl);
              break;
          case 5:
              Picasso.with(getApplicationContext()).load("http://i40.tinypic.com/2i8xagp.jpg").into(ivImageFromUrl);
              break;
      }
  }
  }
  </code></pre>
  
  <p>XML</p>
  
  <pre><code>  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Hello World!"
      android:id="@+id/textView2" /&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Image text"
      android:id="@+id/textView"
      android:layout_below="@+id/textView2"
      android:layout_centerHorizontal="true"
      android:layout_marginTop="82dp" /&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Image"
      android:id="@+id/button"
      android:onClick="buttonOnClick"
      android:layout_below="@+id/textView"
      android:layout_centerHorizontal="true"
      android:layout_marginTop="41dp" /&gt;
  
  &lt;ImageView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/iv_image_from_url"
      android:layout_alignParentBottom="true"
      android:layout_alignRight="@+id/textView"
      android:layout_alignEnd="@+id/textView"
      android:layout_marginBottom="106dp" /&gt;
  </code></pre>
  
  <p></p>