When creating a spinner list that can be added to by the user over time.
Is it best to store this in an  XML Array file
<resources>
    <!-- Used in View/Spinner1.java -->
    <string-array name="colors">
        <item>red</item>
        <item>orange</item>


Or in a text file and load the data  into an ArrayAdapter  each time the 
spinner is visible ?


Also IF   I have three activities  (screens)


When is the constructor     and   when is the destructor called ?


How is the memory emptied for the ArrayAdapter ?  (Each time the screen is 
closed ?)




thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to