To receive data from different Activities, I send it to the MenuList class module
This class returns some values to each Activity
How to do this in B4XPages for different pages?
Activity:
Dim ML As MenuList
Dim data As Map
data.Initialize
data.Put(...)
ML.Initialize(Me, data)
This class returns some values to each Activity
MenuList:
Public Sub Initialize(CallBack As Object, m As Map)
...
CallSub2(CallBack, "setMenu", pn)