TouchEffect inside CollectionView DataTemplate not letting select item on Android
See original GitHub issuePlacing TouchEffect
inside the DataTemplate
of a CollectionView
(I have tried Frame
& Grid
) does not work on Android.
I have tried by calling SelectionChangedCommand
and doesn’t work either.
I have tested on iOS and UWP and it works.
Repro link: https://github.com/MADSENSE/Madsense.XamarinForms.Sample/tree/collection-view-frame-android-issue
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
[Bug] TouchEffect.NativeAnimation="True" will deselect ...
I have collection view that is stack layout with frames that have images in them. When I click on one that is already...
Read more >Button is not clickable in CollectionView
Now in ContentPage , declare a List<Car> to store only one item to keep this collection view is single selected. And use MessagingCenter...
Read more >LongPress, Animations and More with TouchEffects in ...
With the TouchEffects in Xamarin Community Toolkit it has never been easier to add a LongPress to any visual element.
Read more >SelectedItem not Firing - Microsoft Q&A
Hello I am using a collectionView, but the item is not firing in the VM vm private ObservableCollection<Result> _pokeItems; ...
Read more >Binding in C# from within DataTemplate to parent ...
The statement which does not work due to missing BindingContext within the DataTemplate is the TouchEffect.SetLongPressCommand one.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, if it works well even in the ScrollView sample, then I will appreciate submitting a PR with the fix 😃 Would you like to do it?
I think it’s not specific to
CollectionView
,TapGestureRecognizer
does not work on any element withTouchEffect
onAndroid