I have an ArrayList of Location objects. The ArrayList typically has from 1,000 to 10,000 Location objects.
I want to be able to persist the ArrayList and then read it back in later.
I am assuming that it would be much faster to write out the entire ArrayList of Location objects as a single file rather than storing each Location object in SQLiteDB.
Can someone show me some example code to read/write an ArrayList of Location objects, or suggest a better solution?