roadlabs / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 1 forks source link

Add a way to save an Arraylist #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Added the StoreArrayList, and GetArrayList methods to the Prefs class. This 
stores a string Arraylist to SharedPreferences via JSON.

Original issue reported on code.google.com by IMPINC...@gmail.com on 26 Feb 2013 at 11:36

GoogleCodeExporter commented 9 years ago
Actually, you can store most arraylists. The GetArrayList will always return a 
String ArrayList though. There are convenience methods in the Convert class 
which help to convert to common types (Integer, Boolean, Long, Short, Float).

Original comment by IMPINC...@gmail.com on 27 Feb 2013 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by IMPINC...@gmail.com on 23 Mar 2013 at 3:21