Swipe between accordions

Hello,

I am trying to achieve a certain functionality and wanted to ask if it was possible and how so.

I have 3 of the same accordions filled with different data. When I click the left arrow button, I want to slide to the accordion on the left. When I click the right arrow button, I want to slide to the accordion on the right. I want the animation to look smooth between the sliding and the current accordion to slide out as the next accordion slides in, but only 1 is visible at a time. 

(I want this to sort of look like a carousel view)

Thank you.

1 Reply 1 reply marked as answer

LN Lakshmi Natarajan Syncfusion Team February 1, 2021 11:35 AM UTC

Hi Spencer, 
 
Thank you for using Syncfusion products. 
 
Query 
Response 
Swipe between Accordion 
We would like to inform you that we have documented the requirement using Xamarin.Forms SwipeView.  
 
Please refer to our online documentation for the same, 
 
I want to slide to the accordion on the left. When I click the right arrow button, I want to slide to the accordion on the right 
You can also open or close the SwipeView programmatically using the Open or Close method. 
 
Please refer to the following documentation regarding the same, 
 
I want the animation to look smooth between the sliding and the current accordion to slide out as the next accordion slides in, but only 1 is visible at a time 
You can achieve your requirement by closing the SwipeView while another SwipeView is opened using the SwipeStarted and SwipeEnded events. 
 
Please refer to the following discussion to achieve your requirement, 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Lakshmi Natarajan 
 


Marked as answer
Loader.
Up arrow icon