// strings.xml
<string-array name="list">
<item>Istinye Park</item>
<item>Kanyon Istanbul</item>
<item>Akmerkez</item>
<item>Forum Istanbul</item>
<item>Istanbul Cevahir</item>
<item>Metrocity</item>
<item>Istanbul Sapphire</item>
</string-array>
I need to access specific item of string-array from java. I can access to string with R.string.str and to array with R.array.list. But need something like R.array.list[1] to access specific item of array.
String[] shopping = getResources().getStringArray(R.array.shopping);For your reference: developer.android.com/guide/topics/resources/…String istinyePark = shopping[0];