I am generating a string from database dynamically which has the same name of image in drawable folder.
drawable
Now I want to set that value for ImageView
ImageView
The 'R' file can not be generated at the run time of the app. You may use some other alternatives such as using if-else or switch-case
if-else
switch-case