I am new to Xamarin and specially to MVVM. I have a ListView which is showing me Images.
<ListView ItemsSource="{Binding Urls}" IsVisible="True" VerticalScrollBarVisibility="Always"
HorizontalScrollBarVisibility="Always" HorizontalOptions="Fill" VerticalOptions="Fill"
HasUnevenRows="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Orientation="Vertical" HorizontalOptions="Fill" VerticalOptions="FillAndExpand" Padding="2">
<ffimageloading:CachedImage Source="{Binding .}" Aspect="AspectFill" Margin="15">
<ffimageloading:CachedImage.GestureRecognizers>
<TapGestureRecognizer Command="{Binding Source={x:Reference ImgListView},Path=BindingContext.ImageDoubleTappedCommand}" />
</ffimageloading:CachedImage.GestureRecognizers>
</ffimageloading:CachedImage>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
Now I want the zoom behavior with double tap and pinch to zoom. I found different links on internet but those don't implement MVVM. For example : https://www.c-sharpcorner.com/article/zoom-in/. How can I get the zoom functionality in MVVM?