android - How to get Resource name? -
how image name , display in textbox? used arraylist generates random images.
string imagename = getresources().getresourcename((integer)list.get(position));
the output code r.drawable.image1. how image name image1?
try this,
string name = getresources().getresourceentryname(image[position]);
Comments
Post a Comment