Just a simple method that makes creating event names for CallSub easier. Useful for Custom Views.
Method:
To use:
Method:
B4X:
Private Sub CreateEventName (SubName As String) As String
Return $"${mEventName}_${SubName}"$
End Sub
To use:
B4X:
CallSub(mCallBack, CreateEventName("YourEvent"))
Last edited: