We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have used FolioReader-Android, working good Lolipop and above, but when I use Kitkat the Highlights list is empty.
public static ArrayList getAllHighlights(String bookId) { ArrayList highlights = new ArrayList<>(); Cursor highlightCursor = DbAdapter.getAllByKey(HighLightTable.TABLE_NAME, HighLightTable.ALL_COLUMNS, HighLightTable.COL_BOOK_ID, bookId); while (highlightCursor.moveToNext()) { highlights.add(new Highlight(highlightCursor.getString(1), highlightCursor.getString(2), highlightCursor.getString(3), highlightCursor.getString(4), getDateTime(highlightCursor.getString(5)), highlightCursor.getString(6), highlightCursor.getInt(7), highlightCursor.getString(8), highlightCursor.getInt(9), highlightCursor.getInt(10), highlightCursor.getString(11))); }
Log.d("highlights", "highlights ? " + highlights); // this return empty([]) array. return highlights; }
this method was written inside com.folioreader.model.sqlite.HighLightTable class.
The text was updated successfully, but these errors were encountered:
Merge pull request #104 from codetoart/dev
2c1b55c
Fixes #221
No branches or pull requests
I have used FolioReader-Android, working good Lolipop and above, but when I use Kitkat the Highlights list is empty.
public static ArrayList getAllHighlights(String bookId) {
ArrayList highlights = new ArrayList<>();
Cursor highlightCursor = DbAdapter.getAllByKey(HighLightTable.TABLE_NAME, HighLightTable.ALL_COLUMNS, HighLightTable.COL_BOOK_ID, bookId);
while (highlightCursor.moveToNext()) {
highlights.add(new Highlight(highlightCursor.getString(1),
highlightCursor.getString(2),
highlightCursor.getString(3),
highlightCursor.getString(4),
getDateTime(highlightCursor.getString(5)),
highlightCursor.getString(6),
highlightCursor.getInt(7),
highlightCursor.getString(8),
highlightCursor.getInt(9),
highlightCursor.getInt(10),
highlightCursor.getString(11)));
}
this method was written inside com.folioreader.model.sqlite.HighLightTable class.
The text was updated successfully, but these errors were encountered: