- Jun 6, 2020
- 11,559
- 4,422
Context: My project has several activity modules and services. I use Starter service for all Process_Globals that are shared between Activties. I am not using Pages.
The issue I am addressing is occasional lockups (Object Not Initialised) when I pick the tablet up having not touched it for a while (ie half an hour or so). I've not managed to catch it in Debug mode so don't know what is 'not initialised'.
In each Activity module I declare in Globals:
Globals:
I initialize B4XDialog in Activity_Create
Activity_Create:
My question is: Should I move Dialog.Initialise (Activity) outside of the FirstTime condition?
The issue I am addressing is occasional lockups (Object Not Initialised) when I pick the tablet up having not touched it for a while (ie half an hour or so). I've not managed to catch it in Debug mode so don't know what is 'not initialised'.
In each Activity module I declare in Globals:
Globals:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
I initialize B4XDialog in Activity_Create
Activity_Create:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
My question is: Should I move Dialog.Initialise (Activity) outside of the FirstTime condition?
برای دیدن لینک ها باید ثبت نام کنید