Nativescript-carousel autoPaging



hello everyone, i’m using carousel for sliding images and like i see it have autoPagingInterval and scrollEnabled option for ios only but i want same on android. i want to disable sliding with swipe, i want just slide automaticly in every x seconds… any solution?


Update the selectedPage property in particular intervals to get auto scrolling. You can disable the swipe action by overriding nativeView’s touch listeners.


thanks i did the first one but i dont know how to override nativeView’s touch listeners


You may google specific to Android, you will get a lot of example - Disable swipe in ViewPager, then all you have to do is translate that in JavaScript / TypeScript.