Android Question StartActivity And Activity.Finish problem?

ronovar

Active Member
Licensed User
Longtime User
I have 5 Activities...when user press OK button on Item 1 i call

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?
 

ronovar

Active Member
Licensed User
Longtime User
I im using Activity Module not Service Module...because in Activity Module i have added labels panels imageviews bbitmaps and json code to parse from server....how can i add thease items in Service Module?
 
Upvote 0
Top