Hi Andrei. Could you please make your carouselview working inside TabbedPage? I read everywhere there's conflict with swiping gesture but not found any fix. Thank you very much and keep up the good work :D
@rredoh Hi
I think, you will have to disable tabbedPage's swiping
https://forums.xamarin.com/discussion/81092/disable-swipe-on-tabbed-page
Thanks for the suggestion @AndreiMisiukevich , but do we have another choice?
@rredoh hm, i don't see any solution
How can we distinguish card swipes and page swipes ?)
Ah I see. Thanks for the help then :)
But I have seen some apps can have this carousel and swiping tabbedpage. Just curious
@AndreiMisiukevich Sorry to bring up this old issue. In our testing, the issue is not distinguishing between CarouselView swipes and Tab swipes, but rather that the CarouselView swipes seem to stop registering after 5-10px of swiping. After that, the swipe action is completed automatically, without the user lifting their finger.
If you swipe in a diagonal motion (I saw something in the code that was checking delta Y when determining if the touch counts), then this does not happen, and the user can swipe back and forth by holding on to the card, without the ItemSwiped event ever firing (until they let go).
I have experimented with all of these properties but cannot get this behavior to change:
Do you have any advice? Am I doing something incorrectly?
@logicsandbox hi
could you please provide small sample and, maybe, video?
Also, try to set IsPanInteractionEnabled = false
@AndreiMisiukevich Here is a video: https://youtu.be/I3oW44nWZXg
This video was recorded without trying your IsPanInteractionEnabled = false, but enabling it did not seem to change anything.
I've attached a zip of the app in the video. I will make a GitHub repo out of it when I get home from work (8 hours from now at least).
Edit: This was recorded on a Samsung Galaxy Note 8, but my coworker with an iPhone (7?) experienced the same behavior.
https://github.com/AndreiMisiukevich/CardView/blob/master/PanCardView.Droid/CardsViewRenderer.cs
If somebody wants to debug :)
@logicsandbox but it's so strange, that iphone has the same behavior.. i will try on simulator
https://github.com/AndreiMisiukevich/CardView/blob/master/PanCardView.Droid/CardsViewRenderer.cs
If somebody wants to debug :)
@AndreiMisiukevich I was having trouble getting the solution to build because the Droid and iOS projects are not part of the solution. Are there instructions anywhere?
@logicsandbox sorry, what do you mean?

@AndreiMisiukevich https://github.com/AndreiMisiukevich/CardView/blob/master/PanCardView/PanCardView.sln Only has the one project in it?
@logicsandbox oh... need to remove it
this is proper one https://github.com/AndreiMisiukevich/CardView/tree/master/PanCardViewSample
@logicsandbox if you want you can make a PR (remove that file)
@logicsandbox but it's so strange, that iphone has the same behavior.. i will try on simulator
@AndreiMisiukevich I just tried on an iPad and the swiping seems to work fine. This may be only an Android issue.
@logicsandbox i think there is only one solution for now -- disable tabbedPage scrolling :(
@AndreiMisiukevich @rredoh The solution is actually painfully simple. Use the UserInteracted event to disable TabbedPage swiping on UserInteractionStatus.Started, and enable TabbedPage swiping on UserInteractionStatusEnded/Ending.
Works perfectly! Should this be added to the workarounds section of the readme?
@logicsandbox hm.. i think yes.
@AndreiMisiukevich
Ahh.. Thanks then :)
I'll try it and tell the result soon
Most helpful comment
@AndreiMisiukevich
161 Added TabbedPage workaround to Readme