I'm starting an activity with callsubdelayed3. But the order that sub's are executed is not what I would want/expect.
first 'activity_create' is executed, than 'activity_resume' and after that "Activity_Start1" (the sub that I passed as and parameter to callsubdelayed3)
I need to display data based on the parameters emailaddress and g_id. Since this data needs to be displayed again if user had left the app, this is done in activity_resume.
I could display the data twice: both in Activity_start1 and in activity_resume, but that's twice as slow. Is there a way to call a sub only once after both activity_start1 and activity_resume?
B4X:
CallSubDelayed3(A_show,"Activity_Start1",emailaddress,g_id)
first 'activity_create' is executed, than 'activity_resume' and after that "Activity_Start1" (the sub that I passed as and parameter to callsubdelayed3)
I need to display data based on the parameters emailaddress and g_id. Since this data needs to be displayed again if user had left the app, this is done in activity_resume.
I could display the data twice: both in Activity_start1 and in activity_resume, but that's twice as slow. Is there a way to call a sub only once after both activity_start1 and activity_resume?