Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cursor res = db.rawQuery(query, queryArgs);
if (res != null && res.getCount() > 0) {
res.moveToFirst();
do {
array_list.add(res.getString(0));
} while (res.moveToNext());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment