1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

new FBTree class has been added

git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1059 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
Vasiliy Bout 2010-02-24 13:15:11 +00:00
parent 5c1ea34fd2
commit 30e9f8dae0
4 changed files with 77 additions and 38 deletions

View file

@ -35,6 +35,7 @@ import org.geometerplus.zlibrary.core.resources.ZLResource;
import org.geometerplus.fbreader.fbreader.FBReader;
import org.geometerplus.fbreader.bookmodel.BookModel;
import org.geometerplus.fbreader.library.*;
import org.geometerplus.fbreader.tree.FBTree;
public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuItemClickListener {
static LibraryTabActivity Instance;
@ -184,7 +185,7 @@ public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuIt
if (myCurrentBook == null) {
return null;
}
for (LibraryTree tree : myLibraryTree) {
for (FBTree tree : myLibraryTree) {
if ((tree instanceof BookTree) && ((BookTree)tree).Book.equals(myCurrentBook)) {
return tree;
}