Reputation: 4229
I need to have about 120 different paragraphs of text stored somewhere in my app, so that I can display some of those paragraphs to the user.
Since those paragraphs are groups of 12 I was thinking of creating 12 different string-arrays in my values/strings.xml file, so that I can access them easily, without much hassle.
What is the best practice to do so? Do i lose anything if I chose the one way instead of the other?
Upvotes: 0
Views: 135
Reputation: 60711
If they never change at runtime, then sticking them in string resources is by far the easier option.
Upvotes: 1