Pageslider behavior with 'on Swipe Left' interaction

Akila Sandakelum shared this question 3 years ago
Answered

Hi,


I want to build the android pageslider behavior. Below is my prototype.


I have managed to slide the middle page to slide left via 'on swipe left'. But I have got two problems.


1. The right page doesn't come to the middle of the screen.(To the exact place where previous page was)


2. Navigation bar and horizontal soft key bar also swipe left.


How to solve these issues?


e6f4fed87b59a3f0e722ca84972a2785


Comments (2)

photo
1

Hello Akila,


In order to prevent the navigation bar and soft key from sliding as well, you will need to exclude them from the event. To do so, I would suggest embedding the slider inside a dynamic panel and excluding the header and footer. In order to assess why the position varies after swiping, it would be helpful to understand how the prototype is implemented. Therefore, we would be grateful if you could either explain how you simulated the slider functionality or send the prototype file to:


jim.support@justinmind.com


Best,


Luisa

photo
1

Hi Luisa,


Thank you very much for your quick response. You guys are awesome.


I'll definitely send the prototype by describing the question.


Thanks in advance


Regards,


Akila