There is a program. It is necessary that when reading a line, the program shows a certain picture.
Ie if:
String img = "orangejuice" then the program will do the following:
ImageView tvImage = (ImageView) convertView.findViewById(R.id.imageView) tvImage.setImageResourse("R.drawable." + img) This, logically, will not work. How do I modify the tvImage.setImageResourse("R.drawable." + img) to make it work?