Skip to content

Instantly share code, notes, and snippets.

@markojerkic
Created April 22, 2017 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markojerkic/e5638ab724e96ea240fcc9bfe581f3f3 to your computer and use it in GitHub Desktop.
Save markojerkic/e5638ab724e96ea240fcc9bfe581f3f3 to your computer and use it in GitHub Desktop.
Read of CRUD
ArrayList list = new ArrayList<>();
while(cursor.moveToNext()) {
String column1 = cursor.getString(
cursor.getColumnIndexOrThrow(FeedEntry.COLUMN_COLUMN1));
list.add(column1);
}
cursor.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment