iOS Question (Solved) Startactivity in b4i

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.

In B4A I have a code

On each activity in my app there is a button Feedback.

On click on this button on, for example Dashboard activity, my code is

B4X:
Main.PreviousScreen="Dashboard"
StartActivity(Feedback)

Then on Feedback on click SendFeedback button after feedback is sent my code is

B4X:
StartActivity(Main.PreviousScreen)
that returns the user to the previous screen.

How to do the same in B4i Default app?

I know about ThreePages example and that's how my app works but my question is - is there any other way than just a huge select case where I will manually tell to the app what page to open based on the Main.PreviousPage variable value?
 
Last edited:
Top