Android Question Back button and stack

Steve-h

Member
Sorry for what is probably a simplistic question.

Using B4XPages I have B4XMainPage and a second page (Page2) where the user selects some settings.

I call page 2 with B4XPages.Show (“Page2”) and return to main page with a similar B4XPages.Show (“MainPage”) or the user presses the back button. To someone who is new to this, calling a different page feels a bit like calling a sub, if I called a sub in other languages without a proper Return I would be worrying about the stack. Does switching between pages, or views ( not certain what to call them) have any implications for the stack ?
 
Top