Hi
few issues with the NativeObject.CreateBlock method
1. why max param size is 2 ? I need more
2.
n1 is not equal to n2. I think it should so we could use the tag property
3.
There are some methods which call the block several time (ex. enumerateObjectsUsingBlock, etc..)
When using WaitFor to wait the event of the block it is raised only one. But when using a sub instead of WaitFor it call several time(as it should be)
thank u
few issues with the NativeObject.CreateBlock method
1. why max param size is 2 ? I need more
2.
B4X:
Dim n as NativeObject
n1=n1.CreateBlock(…)
n.RunMethodWithBlock(…)
Sub Block_Event(args() object) as Object
dim n2 as native object=sender
End sub
3.
There are some methods which call the block several time (ex. enumerateObjectsUsingBlock, etc..)
When using WaitFor to wait the event of the block it is raised only one. But when using a sub instead of WaitFor it call several time(as it should be)
thank u