nativescript-community / ui-pager

Pager / Carousel component that allows the user to swipe left and right through pages of data.
https://nativescript-community.github.io/ui-pager/
Apache License 2.0
18 stars 10 forks source link

Swipe events not triggering on Android #24

Open guillemc23 opened 2 years ago

guillemc23 commented 2 years ago

Hello guys!

I'm trying to track the user's swipes to perform certain actions, but to me, none of the swipe listeners triggers. I'm using the pager like this:

 <Pager [items]="videos" circularMode="true" showIndicator="true" indicator="thin_worm" indicatorColor="#4e4631"
        indicatorSelectedColor="#77567a" autoplay="false" (swipeStart)="onSwipeStart($event)"
        (swipeOver)="onSwipe($event)" (swipeEnd)="onSwipeEnd($event)">

where all of the functions that are supposed to trigger just print the event on the console.

I'm using Android, Angular 13, NS 8.2 and the latest plugin version 13.0.42