How to Call Drawable XML File in Picasso Library?
<p>Android Button Change Image  change  for Click event using XML Selector. like this. </p>

<p><strong>StartButtonSelector.XML</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;selector xmlns:android="http://schemas.android.com/apk/res/android" &gt;
    &lt;item android:state_pressed="true" android:drawable="@drawable/start_button_pushed" /&gt;
    &lt;item android:drawable="@drawable/start_button" /&gt;
&lt;/selector&gt;
</code></pre>

<p>and Layout XML File like this. </p>

<p><strong>main_activity.xml</strong></p>

<pre><code> &lt;ImageButton
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/startButton"
    android:layout_marginBottom="10dp"
    android:layout_marginTop="8dp"
    android:background="@drawable/start_btn_selector"/&gt;
</code></pre>

<p>Now. i'm plan to use Picasso Image Library for Image caching. to avoid Out.of.Memory Error. So this is my scenario. how to do this. Thanks in Advance. </p>