Robert Valentino Well-Known Member Licensed User Longtime User Sep 19, 2020 #1 I know I can define one myself, but was wondering it there was a define for B4XPages #if B4XPages #else #end if I have routines that normally take an activity, but all they use the activity for is to temporary add a view B4X: Activity.AddView which when using B4XPages seems like they should be doing B4X: xRoot.AddView Instead.
I know I can define one myself, but was wondering it there was a define for B4XPages #if B4XPages #else #end if I have routines that normally take an activity, but all they use the activity for is to temporary add a view B4X: Activity.AddView which when using B4XPages seems like they should be doing B4X: xRoot.AddView Instead.
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2020 #2 Use B4XView. It will work in both cases. Upvote 0