I am storing an ArrayList in a static variable in an ordinary (non activity) java class. It works correctly when I load it from an activity, but will it be guaranteed to remain in memory even when my activity is not calling it often?
Here is the class: package com.maps.spoken; import java.util.ArrayList; public class NoWordRepeats { public static ArrayList<String> ar = new ArrayList<String>(); } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en