ASViewPager1 is the view below what you want to scroll and at "TouchBegin" you simply deactivate ASViewPager2 and reactivate it as soon as the "TouchEnd" event is triggered.
Private Sub ASViewPager1_TouchBegin
ASViewPager2.Scroll = False
End Sub
Private Sub ASViewPager1_TouchEnd
ASViewPager2.Scroll = True
End Sub
I have tried this with no sucess, if you would not mind here is a better explanation:
EVERYTHING is a layout loaded in ASViewPagerMain, that I use to change based on the buttons on the bottom
on the first page (index 0) there is on top of the google maps another ASViewViewPager that is only on the botton part where I insert many layouts and have the carousel to change between these cards.
THE PROBLEM:
- first google maps is acting strange, it does let you drag it, however seems like something it taking some of the events
- I have turned off the carousel effect from the ASViewPagerMain, I dont want the user swapping the map and the viewer changing pages
- the smal ASViewPager on the botton NEVER get triggered, I cant swipe, no even then touchbegin and touchend is working.
I am working with the B4XPagesManager
Everything is loaded in many layers:
On the PagesManager:
on the first page of the ASViewPagerMain
and in the ASViewPagerPlaces
Any help appreciatted.