I am having a major problem trying to control the flow of an app.
I have a Login Activity (actInitialLogin) and a Second Activity (actFirstScreen) that should only be displayed after the Login has completed.
How do I wait for the Login to complete before stating actFirstScreen
using
causes actFirstScreen to be displayed and actInitialLogin is never seen (it is on the stack as pressing "back" displays it)
I have tried CallSubDelayed but I cannot get anything to work.
I have a Login Activity (actInitialLogin) and a Second Activity (actFirstScreen) that should only be displayed after the Login has completed.
How do I wait for the Login to complete before stating actFirstScreen
using
B4X:
StartActivity(actInitialLogin)
StartActivity(actFirstScreen)
causes actFirstScreen to be displayed and actInitialLogin is never seen (it is on the stack as pressing "back" displays it)
I have tried CallSubDelayed but I cannot get anything to work.
Last edited: