S socialnetis Active Member Licensed User Longtime User Apr 13, 2013 #1 Is the ImageView in B4A is of the same type as in Java? I have a library in Java which raises and event with ImageView, and I can't catch in B4A (I get type errors)
Is the ImageView in B4A is of the same type as in Java? I have a library in Java which raises and event with ImageView, and I can't catch in B4A (I get type errors)
agraham Expert Licensed User Longtime User Apr 13, 2013 #2 It is but it has a thin wrapper round it. Exactly what are you trying to do and what is the error you get. Upvote 0
It is but it has a thin wrapper round it. Exactly what are you trying to do and what is the error you get.
Informatix Expert Licensed User Longtime User Apr 13, 2013 #3 socialnetis said: Is the ImageView in B4A is of the same type as in Java? I have a library in Java which raises and event with ImageView, and I can't catch in B4A (I get type errors) Click to expand... The ImageView class is wrapped by the B4A ImageViewWrapper class: ImageView = ImageViewWrapper.getObject() Upvote 0
socialnetis said: Is the ImageView in B4A is of the same type as in Java? I have a library in Java which raises and event with ImageView, and I can't catch in B4A (I get type errors) Click to expand... The ImageView class is wrapped by the B4A ImageViewWrapper class: ImageView = ImageViewWrapper.getObject()
S socialnetis Active Member Licensed User Longtime User Apr 17, 2013 #4 Informatix said: The ImageView class is wrapped by the B4A ImageViewWrapper class: ImageView = ImageViewWrapper.getObject() Click to expand... Thanks! I used the setObject in ImageViewWrapper, and now I can use this object to raise an event in java and capture it in B4A. That was what I was looking for, thank you very much Upvote 0
Informatix said: The ImageView class is wrapped by the B4A ImageViewWrapper class: ImageView = ImageViewWrapper.getObject() Click to expand... Thanks! I used the setObject in ImageViewWrapper, and now I can use this object to raise an event in java and capture it in B4A. That was what I was looking for, thank you very much