Hello, I am working on an adaptation of the Erel project of this link
https://www.b4x.com/android/forum/threads/b4x-xui-imageslider.87128/#content
I find the problem that when calling another activity (StartActivity (Menu)) on some occasions Activity 1 (Main) kills Activity2 (Menu).
It seems that the event that shows the next Slider keeps running and at the end it becomes pop-up.
I tried to put timer1.Enabled = False before calling but it happens anyway.
What can I do to avoid this?
I attach the project
NOTE Sometimes you have to try several times to make this happen.
https://www.b4x.com/android/forum/threads/b4x-xui-imageslider.87128/#content
I find the problem that when calling another activity (StartActivity (Menu)) on some occasions Activity 1 (Main) kills Activity2 (Menu).
It seems that the event that shows the next Slider keeps running and at the end it becomes pop-up.
I tried to put timer1.Enabled = False before calling but it happens anyway.
B4X:
Sub Button1_Click
timer1.Enabled=False
StartActivity (Menu)
End Sub
What can I do to avoid this?
I attach the project
NOTE Sometimes you have to try several times to make this happen.