Accessing specific values in String Array in Android -
i'm trying make android app parses xml file lot of entries, ranged user-defined zones.
the zones names included in string-array zone-list:
<string-array name="zone-list"> <item>zone 1</item> <item>zone 2</item> <item>zone 3</item> <item>zone 4</item> </string-array>
and use multiselectlistpreference:
<multiselectlistpreference android:key="zone_sel" android:title="zones" android:summary="select zones" android:dialogtitle="@string/zones" android:entries="@array/zone-list" android:entryvalues="@array/zone-list" />
every item in array converted checkbox item.
the problem need acces boolean value of each item in order interact in code, in order check if zone 1 information wanted showed or not.
how it?
thanks in advance
Comments
Post a Comment