0

i want to add the current string in a textview view to a string array in arrays.xml.then display the last/previous string of that array in a textview (setText).

zaid
  • 6,259
  • 7
  • 26
  • 20

1 Answers1

0

You cannot modify arrays.xml at runtime -- sorry! You will need to modify an in-memory ArrayList or something instead.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491