I've tried RaiseEvent, and it's not clear to me if it's exactly as I put it in this example.
Anyway, in the case of Activity_Resume I've tried doing Array(NULL) but it doesn't work.
Anyway, in the case of Activity_Resume I've tried doing Array(NULL) but it doesn't work.
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
'Return B4XPages.Delegate.Activity_KeyPress(KeyCode)
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "Activity_KeyPress", Array(KeyCode))
Return True
End Sub
Sub Activity_Resume
'B4XPages.Delegate.Activity_Resume
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "Activity_Resume",Array(Null))
End Sub
Sub Activity_Pause (UserClosed As Boolean)
'B4XPages.Delegate.Activity_Pause
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "Activity_Pause",Array(UserClosed))
End Sub