Why there is only one data in the List<String>?
问题 I used cursor for database selecting and want to put all the data inside a List, then return to the mainactivity. But after debugging, I found that there is only the first data inside the return value. public List<String> select1 (String ReservedState, String mycity, String mystreet, String mypostcode){ ReservedState="Free"; SQLiteDatabase Database1=dbHelper1.getWritableDatabase(); String[] columns={DbHelper1.KEY_ID1,DbHelper1.KEY_RESERVEDSTATE, DbHelper1.KEY_GEOGRAPHICALLOCATION,DbHelper1