Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

How to use SelectionChangedCommand

$
0
0

I trying to get data from CollectionView to ViewModel when activeItem has changed.
I try to bind ICommand on SelectionChangedCommand="{Binding Swipe}" but on swipe I don't get data from CollectionView. Command "Swipe" is not triggered. I am doing something wrong, but can't find appropriate sample on documentation.
So my question is: How to use SelectionChangedCommand ? Or How to track active item from CollectionView in my ViewModel .
My code is on github: https://github.com/Darkoshacy/CollectionViewMySample


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>