dimanche 31 mars 2019

Get the drawable's name after setting it on ImageView

I'am Actually setting an image to the ImageView Dynamically from the Drawable folder. I got the working code to set the image dynamically but I can't get the name of the image/drawable which gets set on the image view at the moment. Either I should get the drawable name or any code to get the instance of each drawable with a name which I can set on the ImageView. Any help is Much Appreciated!!

I searched and tried all answers on StackOverflow.

Set the image dynamically to the imageview and also get that image's name.




Aucun commentaire:

Enregistrer un commentaire