When I close the activity that uses B4XLoadingIndicator
(https://www.b4x.com/android/forum/threads/b4x-xui-b4xloadingindicator-loading-indicator.92243/)
I get this message:
The sub MainLoop is:
This message is a problem? I need to worry about this? If yes, what I need to change in the code?
Thanks in advance to any help.
(https://www.b4x.com/android/forum/threads/b4x-xui-b4xloadingindicator-loading-indicator.92243/)
I get this message:
B4X:
Sleep not resumed (context is paused): b4a.example3.b4xloadingindicator$ResumableSub_MainLoop
The sub MainLoop is:
B4X:
Private Sub MainLoop
index = index + 1
Dim MyIndex As Int = index
Dim n As Long = DateTime.Now
Do While MyIndex = index
Dim progress As Float = (DateTime.Now - n) / duration
progress = progress - Floor(progress)
cvs.ClearRect(cvs.TargetRect)
CallSub2(Me, DrawingSubName, progress)
cvs.Invalidate
Sleep(10)
Loop
End Sub
Thanks in advance to any help.