0

Is it possible to somehow do this following:

view.setIconResource(getString(R.string.wi_alien));

...in a way like this?

String someString = "wi_alien";
view.setIconResource(getString(R.string.someString));

The part below does not work obviously, you get the "cannot resolve symbol String". Is something like this possible?

Carlton
  • 2,738
  • 6
  • 31
  • 62

0 Answers0