How to save my Arraylist into SQLite database?
问题 I want to save my ArrayList<HashMap<String, String>> mylist = new ArrayList<HashMap<String, String>>() in SQLite database and later retrieve it to display the items stored in it. How can I achieve this? Please provide examples. Thanks in Advance :) 回答1: Tutorial Link Please refer to the link above. I has a working example of using HashMap for SqLite operations using SQliteOpenHelper. It has one insertion at a time, but you might wanna create a loop, if you wish to insert them all in one