i am trying to get a textView id from a value from an array
I tried to use this without success:
String string1 = String.valueOf(token[1]);
token[0].settext(string1)
How do I dynamically reference a textview using an Id stored into an array?
i am trying to get a textView id from a value from an array
I tried to use this without success:
String string1 = String.valueOf(token[1]);
token[0].settext(string1)
How do I dynamically reference a textview using an Id stored into an array?
You can use this to get text
String string1 = token[1].getText().toString(); token[0].setText(string1);