Why there is no method to get Resource Name from Drawable object
<p>To create Drawable object from any resource we can use the following code (my image name is arrow_selected.png)</p>

<pre><code>Drawable d =getResources().getDrawable(R.drawable.arow_selected);
</code></pre>

<p>But later in the application I want to get the resource name from this drawable object.
I didnot find any method to get resource name like the following</p>

<pre><code>d.getResourceName();
</code></pre>

<p><strong>Why there is no such method in android API.</strong>  <strong>How can I get Resource Name from Drawable object?</strong></p>
