-
-
Save jezinka/22827a6ce48d418d33cbbae2eb5c1e60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cursor res = db.rawQuery(query, queryArgs); | |
if (res != null && res.getCount() > 0) { | |
res.moveToFirst(); | |
do { | |
String name = res.getString(0); | |
int count = res.getInt(1); | |
array_list.add(count + " x " + name + "\n"); | |
} while (res.moveToNext()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment