Which is better when storing some large texts: strings in XML resource file or a java Strings in a class



I have to store some long text, to use in textViews. i've always been using strings in a xml file, but i don't know if a java String for each text could be better, so...


Which is the best way to store them:




  1. Create strings in a XML resource file




  2. Create a class and store the text in java strings




Thanks!


No comments:

Post a Comment