Join Slack
Communities
Powered by
<How do I use the name of the picture (It's alread...
# stackoverflow
u
user
07/06/2022, 10:51 AM
How do I use the name of the picture (It's already in "drawable") for use in the program?
I tried to do it through "string" but it doesn't work. How to do it? var TestString : String = "test1.png" var TestId : Int = R.drawable.TestString
2
Views
Open in Slack
Previous
Next