RadCollectionView item long tap gesture

1 Answer 10 Views
CollectionView
Andrey
Top achievements
Rank 1
Andrey asked on 09 Sep 2025, 08:44 PM

Would like to add long tap handler for the item view of RadCollectionView.

Adding long tap effect breaks SelectionChanged functionality. Both gestures (long and single tap) added seems does not working.

Probably any in-box solution possible? 

1 Answer, 1 is accepted

Sort by
1
Accepted
Didi
Telerik team
answered on 10 Sep 2025, 07:25 AM

Hi Andrey,

The CollectionView provides ItemTapped event and ItemTapCommand. So the tap gesture is reserved for the event and command. Regarding to the hold/long press gesture, this is reserved for the drag and drop feature

Could you please share what is the exact scenario you want to achieve?

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Andrey
Top achievements
Rank 1
commented on 10 Sep 2025, 07:41 AM

Hi Didi, thanks I will check  ItemTapped event and ItemTapCommand

I would like to have selection of item by tap gesture or internal RadCollectionView mechanism and handle it with the Selection_Changed and the LONG tap gesture at the same time, now I see the problem with it, can not make both happen.

Thanks

Andrey
Top achievements
Rank 1
commented on 10 Sep 2025, 07:56 AM | edited

Hi

In case of added long tap effect the Item Tapped event does not invokes, and opposite long tap effect on item does nothing when I define the ItemTapCommand.

I made it works in Xamarin using RadListView custom renderer, any way we can use MAUI handler for this? I see all the classes are internal. Any help welcome.

Didi
Telerik team
commented on 10 Sep 2025, 10:32 AM

RadListView is a native control and renderers can be used. In Maui the RadCollectionView is not a native control. For item tap, the gesture is tap, not hold. So you cannot override this behavior. 

Share what is the scenario you want to achieve using hold gesture.

Andrey
Top achievements
Rank 1
commented on 10 Sep 2025, 10:37 AM

We select the items and show the details with single tap - usual scenario. Additionaly we want to simulate multi selection which will be activated after a long press, and each long press will select the relevant item with the relevant UI changes in it.

 

 

Didi
Telerik team
commented on 11 Sep 2025, 10:21 AM

I have logged a feature request for exposing a hold gesture on item selection: https://feedback.telerik.com/maui/1698474-collectionview-expose-hold-gesture-on-item-selection cast your vote here.

As a solution you can add additional checkbox inside the template and when the checkbox is checked add the item to the SelectedItems collection. At this time there isn't an option to triggers hold gesture.

Tags
CollectionView
Asked by
Andrey
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or