I have an ImageView that changes depending on what Imagebutton was clicked so I was trying to get the name of the ImageButton that was pressed and since all that I know is the id of the ImageView, I was wondering how to retrieve the name of the drawable. I searched over the internet and all I found was ways of getting the id using drawable name or getting the entire file path of the drawable, so is there a way to get the name of the drawable and without the extension also, Thanks
0 comments:
Post a Comment