0

I know how to get the resource id using of resource name.

Resources resources = context.getResources();
final int resourceId = resources.getIdentifier(name, "drawable", context.getPackageName());

Now I want to know how to get the name of resource using of it's id? Is it possible to get the name of the resource using ID?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Vijay
  • 3,152
  • 3
  • 24
  • 33

0 Answers0