mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
intorduced vibility field in Bookmark
This commit is contained in:
parent
f7ef6cb250
commit
41eb07e7bf
9 changed files with 67 additions and 31 deletions
|
@ -378,6 +378,11 @@ public final class Library {
|
|||
return (recentIds.size() > 0) ? Book.getById(recentIds.get(0)) : null;
|
||||
}
|
||||
|
||||
public static Book getPreviousBook() {
|
||||
List<Long> recentIds = BooksDatabase.Instance().loadRecentBookIds();
|
||||
return (recentIds.size() > 1) ? Book.getById(recentIds.get(1)) : null;
|
||||
}
|
||||
|
||||
public LibraryTree favorites() {
|
||||
waitForState(STATE_FULLY_INITIALIZED);
|
||||
return myFavorites;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue