mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 12:00:17 +02:00
removed unused field
This commit is contained in:
parent
fd88c95c85
commit
f1ca657516
1 changed files with 1 additions and 3 deletions
|
@ -28,12 +28,11 @@ import org.geometerplus.zlibrary.core.tree.ZLTree;
|
||||||
|
|
||||||
import org.geometerplus.zlibrary.ui.android.R;
|
import org.geometerplus.zlibrary.ui.android.R;
|
||||||
|
|
||||||
abstract class ZLTreeAdapter extends BaseAdapter implements AdapterView.OnItemClickListener, View.OnCreateContextMenuListener {
|
public abstract class ZLTreeAdapter extends BaseAdapter implements AdapterView.OnItemClickListener, View.OnCreateContextMenuListener {
|
||||||
final ZLTree<?> Root;
|
final ZLTree<?> Root;
|
||||||
private final ListView myParent;
|
private final ListView myParent;
|
||||||
private ZLTree<?>[] myItems;
|
private ZLTree<?>[] myItems;
|
||||||
private final HashSet<ZLTree<?>> myOpenItems = new HashSet<ZLTree<?>>();
|
private final HashSet<ZLTree<?>> myOpenItems = new HashSet<ZLTree<?>>();
|
||||||
protected ZLTree<?> mySelectedTree;
|
|
||||||
|
|
||||||
protected ZLTreeAdapter(ListView parent, ZLTree<?> root) {
|
protected ZLTreeAdapter(ListView parent, ZLTree<?> root) {
|
||||||
myParent = parent;
|
myParent = parent;
|
||||||
|
@ -75,7 +74,6 @@ abstract class ZLTreeAdapter extends BaseAdapter implements AdapterView.OnItemCl
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void selectItem(ZLTree<?> tree) {
|
public final void selectItem(ZLTree<?> tree) {
|
||||||
mySelectedTree = tree;
|
|
||||||
if (tree == null) {
|
if (tree == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue