I have 5 Activities...when user press OK button on Item 1 i call
When user press BACK key on remote controll then i call:
Some time when user press OK to StartActivity(Item1) apk starts Main Activity because Activity Item1 does not get populated all variables from server responde. I try DoEvents but it is same.
How to prevent to start Main Activity From Item1 Activity if Activity does not get all variables populated from server?
B4X:
StartActivity(Item1)
When user press BACK key on remote controll then i call:
B4X:
Activity.Finish
Some time when user press OK to StartActivity(Item1) apk starts Main Activity because Activity Item1 does not get populated all variables from server responde. I try DoEvents but it is same.
How to prevent to start Main Activity From Item1 Activity if Activity does not get all variables populated from server?