Ok, it must be really simple but I can't see it (even after my third espresso in the day..).
Compiling Release (obfuscated)
Error: java.lang.Exception: Sub abc_suresult signature does not match expected signature.
In Main I have
It's called from a second activity (PaymentResult) by
CallSubDelayed2(Main, "Get_SUResult", l1)
where l1 is a list which has a single item, a string coming back from the external payment system
In b4xMainPage (being the top and only page), I have
but it never arrives here due to the above error.
Compiling Release (obfuscated)
Error: java.lang.Exception: Sub abc_suresult signature does not match expected signature.
In Main I have
B4X:
Sub Get_SUResult(aList As List) 'Answer from Activity PaymentResult
Log(aList.Get(0)) 'prints ok
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "ABC_SUResult", Array(aList))
End Sub
CallSubDelayed2(Main, "Get_SUResult", l1)
where l1 is a list which has a single item, a string coming back from the external payment system
In b4xMainPage (being the top and only page), I have
B4X:
Sub ABC_SUResult(alist As List)
Log("here I am")
Dim s As String = alist.get(0)
Log(s)
End Sub