我想检索数据库中的前 20 个项目,然后是后 20 个项目,如在选择变量中如下所示:
String selection = SQLite.firstTableColumns[8]+">="+0+" and "+SQLite.firstTableColumns[8]+"<"+20;
Log.d("search from db","selection "+selection+" !!!!!!!!!!!");
Cursor cursor = SQLiteDataBase.query("feedFirstTable",SQLite.firstTableColumns,selection, null, null, null, null);
但它返回一个空的ArrayList
.