I have an ArrayList with custom objects. Each custom object contains a variety of strings and numbers. I need the array to stick around even if the user leaves
ArrayList
don't forget to implement Serializable:
Class dataBean implements Serializable{ public String name; } ArrayList dataBeanArrayList = new ArrayList();
https://stackoverflow.com/a/7635154/4639974