This is my array.xml file in the res/values folder:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="updateInterval">
<item name="1000">Pico TTS</item>
<item name="5000">Invox TTs</item>
</string-array>
</resources>
I need to add some more items to the updateInterval array list. How can I add the items that are dynamically coming from server programmatically?
You can’t add item directly to that string array.
But you can use that array and dynamically add elements to that string array.
Do in this way.