Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+
In Android I would use this command:
Sub EventName_Touch (Action As Int, X As Float, Y As Float)
In B4J I would use this:
Sub EventName_MouseDragged (EventData As...
I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J.
This is the code:
Sub Class_Globals
Private CallBack As Object 'ignore
Private EventName As String 'ignore
End Sub
'Initializes the object. You can add...
is there a Simple way to create a event in a Customview to catch this Event in
the Activity Modul?
something like
CustomView:
Sub ButtonFinish_Click
RaiseEvent Ready(1)
End Sub
---
Activity:
Sub Ready(a as int)
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.