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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -