mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
more methods in IBookCollection
This commit is contained in:
parent
a72943e2dd
commit
40b4953f83
4 changed files with 36 additions and 2 deletions
|
@ -69,6 +69,14 @@ public class LibraryService extends Service {
|
|||
myCollection.startBuild();
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return myCollection.size();
|
||||
}
|
||||
|
||||
public String recentBook(int index) {
|
||||
return SerializerUtil.serialize(myCollection.getRecentBook(index));
|
||||
}
|
||||
|
||||
public String bookById(long id) {
|
||||
return SerializerUtil.serialize(myCollection.getBookById(id));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue