In the attached source code in the first post, there is a method in the the iMashPager module. here is it...
B4X:
public Sub GotoPage(Index As Int, bSmooth As Boolean)
CurrentPage = Index
' add page here to scroll horizontally to a page
End Sub
I need help with that so that when the method is called e.g.GotoPage(2), then the sliding panels will move to that panel. Please run the code, you will notice that the panels do slide on swipe as planned, I just need the code to "JumpTo"..
In the attached source code in the first post, there is a method in the the iMashPager module. here is it...
B4X:
public Sub GotoPage(Index As Int, bSmooth As Boolean)
CurrentPage = Index
' add page here to scroll horizontally to a page
End Sub
I need help with that so that when the method is called e.g.GotoPage(2), then the sliding panels will move to that panel. Please run the code, you will notice that the panels do slide on swipe as planned, I just need the code to "JumpTo"..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.