Answer the question
In order to leave comments, you need to log in
How to pass a link to an image from the database?
Hello. I ran into such a problem, I need to insert an image into an article...
For example, the id of the article is 1, and there is 1.png in the drawable
How to pass a link to this image to the ImageView?
Or any other resource?
for example, pass a resource to the parser, instead of id, pass a string, for example:
there is a string "moto", and there is a resource xml file and a link to it R.xml.moto, how to pass R.xml.+"moto" (instead of quotes String variable)
is this possible?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question