Hi
I try to compile the TreeView class to a library and get this error:
The code there is:
MyModule is getting the value of "Me" at initialization from Main activity.
An earlier call using MyModule goes without problem:
Except for compilation to library the program runs without problems. The source is here http://www.b4x.com/forum/additional...lass-treeview-class-tree-node.html#post109757
I try to compile the TreeView class to a library and get this error:
Parsing code. 0.01
Compiling code. 0.02
Compiling generated Java code. Error
B4A line: 204
End Sub
javac 1.6.0_24
src\dudu\treeview\tree.java:247: package main does not exist
main._data _da = null;
^
1 error
The code there is:
B4X:
Sub Node_LongClick(tnode As Node)
If SubExists(MyModule,"NodeLongClicked") Then
CallSubDelayed3(MyModule,"NodeLongClicked",Me,tnode.TN.tag)
End If
End Sub
MyModule is getting the value of "Me" at initialization from Main activity.
An earlier call using MyModule goes without problem:
B4X:
If SubExists(MyModule,"GetData") Then
DataList.Initialize
CallSub3(MyModule,"GetData",Me,tnode.TN.tag)
Else
Return
End If
Last edited: