Hello good afternoon, I have been trying various methods to disable the swipe movement when entering a page but there is no way I leave an example to see if you can help me.
I have tried this:
But it continues to slide perfectly to change to other pages and I want to disable the movement.
Thank you very much, greetings.
I have tried this:
B4X:
Sub TabStrip1_PageSelected (Position As Int)
Log($"Current page: ${Position}"$)
If Position = 1 Then
Dim jo As JavaObject = TabStrip1
jo.GetFieldJO("vp").RunMethod("setOverScrollMode", Array(2)) 'NEVER
End If
End Sub
But it continues to slide perfectly to change to other pages and I want to disable the movement.
Thank you very much, greetings.