I have a resources file that looks like:
<string name="snapshot_type_1">Deletion</string>
<string name="snapshot_type_2">Insertion</string>
<string name="snapshot_type_3">Edition</string>
What I want is to be able to restrieve the string based on pased on the number that identifies the type, this way:
"snapshot_type_" + someVariableValue
Of course, the approach resources.getString(R.string.snapshot_type_1) is not working because it receives an integer.
Thank you!