Hello,
I often used a sub called from Activity_Resume to refresh a view when the app is to the foreground again. The sub calls itself. Today, instead of using CallSub at the end of the sub, I have used CallSubDelayed which had the following effect :
- the context is destroyed
- the resumable sub doesn't loop
Could someone explain me why the sub, included in a foreground activity seems to be unreachable ? Many thanks
I often used a sub called from Activity_Resume to refresh a view when the app is to the foreground again. The sub calls itself. Today, instead of using CallSub at the end of the sub, I have used CallSubDelayed which had the following effect :
- the context is destroyed
- the resumable sub doesn't loop
Could someone explain me why the sub, included in a foreground activity seems to be unreachable ? Many thanks
Sleep not resumed (context destroyed): b4a.test.context.main$ResumableSub_refresh_LV