sqlite moveTonext闪退
Caused by: NullPointerException: android.database.Cursor.moveToNext()' on a null object reference
while (cursor.moveToNext()) {
String id = cursor.getString(cursor.getColumnIndex(Constant._ID));
Commodity commodity = new Commodity(id);
list.add(commodity);
}