This is a migrated thread and some comments may be shown as answers.

Prevent swiping in both directions on Android

4 Answers 116 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 27 Apr 2017, 03:09 PM
I have implemented swipe to delete functionality using the RadListView. When you swipe to the left it reveals the underlying delete button, using the Telerik examples provided. On iOS it behaves exactly like I would expect. I can only swipe in one direction. However, on Android, you can swipe in both directions and make the cell move. How can I prevent swiping to the right on Android, while still allowing swipe to the left for deleting rows?

4 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 02 May 2017, 02:46 PM
Hi Ron,

Thank you for contacting us.

This feature is not available at the moment. We already have a feature request in our feedback portal where you can vote for it to raise its priority.

Please, let us know if you have any other questions.

Regards,
Rosy Topchiyska
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ron
Top achievements
Rank 1
answered on 09 May 2017, 02:12 PM
Thank you! It would be good to have the Android version work the same as iOS.
0
Himanshu
Top achievements
Rank 1
answered on 25 Jun 2019, 06:07 AM

Hi,

I have implemented the same functionality using RadListView in Xamarin forms.

Is there any way to prevent swiping in both directions on Android. Please let me know 

Thanks 

Himanshu

0
Pavel R. Pavlov
Telerik team
answered on 27 Jun 2019, 08:10 AM
Hi Himanshu,

This functionality is not supported by the RadListView control at this time.
I have logged a feature request to provide such an option in our component. I have also updated your Telerik account accordingly.

Please follow it so that you will be notified once we update its status.

Regards,
Pavel R. Pavlov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Ron
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Ron
Top achievements
Rank 1
Himanshu
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or