Android Question Alternative to AsVIewPager as B4X view

EduardoElias

Well-Known Member
Licensed User
Longtime User
I am having troubles with ASViewPager when adding a MapFragment on one of its pages.

The Map does not respond correctly to the drag and pinch gestures. Seems that some of the events are get by the ASViewPager.

I have added panels, turned false scroll and anything makes difference.

I would like to know if there is an alternative that is cross platform (I need it for B4I in the same project) that eventually works with MapFragment and does the same effect of changing pages.
 

Mahares

Expert
Licensed User
Longtime User
I would like to know if there is an alternative that is cross platform (I need it for B4I
The question was asked here:
See @José J. Aguilar post #7 where he offers an alternative
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
You have many other options.

But you can modify or ask the author to have the option to disable ASViewPager's Customlistview gesture
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I am having troubles with ASViewPager when adding a MapFragment on one of its pages.
If you can evaluate if the google map works with the TabstripViewPager, then I can create a B4A and B4I alternative.
based on
B4A:
TabstripViewPager
B4I:
iTabStrip or the normal scrollview
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
If you can evaluate if the google map works with the TabstripViewPager, then I can create a B4A and B4I alternative.
based on
B4A:
TabstripViewPager
B4I:
iTabStrip or the normal scrollview
I got the TabStrip B4A example and added the MapFragment on it

It worked !

I have attached the test app, just remember to add the google map key on the manifest.

I do prefer continue using your ASViewPager if correction can be done. Thanks !
 

Attachments

  • TabStrip.zip
    12 KB · Views: 154
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…