Sqlite data base Cursor to ArrayList
arrayList = new ArrayList<Map<String,Object>>();
for(cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
Map<String, Object> item = new HashMap<String,Object>();
for(int i=0; i<cursor.getColumnCount(); i++)
item.put(cursor.getColumnName(i), cursor.getString(i));
arrayList.add(item);
}
Enjoy the ArrayList with Adapters :)









