xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

[Enhancement] Long press event or command in swipe view #9342

Open levelfivecoder opened 4 years ago

levelfivecoder commented 4 years ago

Summary

we require a longpress event and command in the new swipeview in the xamarin forms.

API Changes

There is already an event in the android renderer, so it can be done for android. but need help for other platforms

VladislavAntonyuk commented 4 years ago

Can it be implemented using LongPressGesture?

levelfivecoder commented 4 years ago

Can it be implemented using LongPressGesture?

There is no long press gesture in gesture recognizer. Also will be difficult to implement because of swipe action. But there is already an unused event available in the swipe view android renderer file

jsuarezruiz commented 4 years ago

@levelfivecoder To support long press events in SwipeView we will have a LongPressGesture. This PR https://github.com/xamarin/Xamarin.Forms/pull/7324 has implementations for LongPressGesture, RotateGesture, etc. We are validating the PR. I will update this request with progress.

Tommigun1980 commented 4 years ago

@levelfivecoder To support long press events in SwipeView we will have a LongPressGesture. This PR #7324 has implementations for LongPressGesture, RotateGesture, etc. We are validating the PR. I will update this request with progress.

Is this PR ever coming in?