是否可以将 FFImageLoading 与 Mr.Gestures 结合使用?如果是这样,那怎么可能?
它在这个线程中被提及:https ://forums.xamarin.com/discussion/32956/mr-gestures-handles-all-touch-gestures/p8
是否可以将 FFImageLoading 与 Mr.Gestures 结合使用?如果是这样,那怎么可能?
它在这个线程中被提及:https ://forums.xamarin.com/discussion/32956/mr-gestures-handles-all-touch-gestures/p8
目前,您可以只使用 MrGestures 中的布局,例如 Grid,然后在其中放置您的图像。
<mr:Grid HeightRequest="300"
Padding="0"
DownCommand="{Binding DownCommand}"
UpCommand="{Binding UpCommand}"
TappingCommand="{Binding TappingCommand}"
TappedCommand="{Binding TappedCommand}"
DoubleTappedCommand="{Binding DoubleTappedCommand}"
LongPressingCommand="{Binding LongPressingCommand}"
LongPressedCommand="{Binding LongPressedCommand}"
PanningCommand="{Binding PanningCommand}"
PannedCommand="{Binding PannedCommand}"
SwipedCommand="{Binding SwipedCommand}"
PinchingCommand="{Binding PinchingCommand}"
PinchedCommand="{Binding PinchedCommand}"
RotatingCommand="{Binding RotatingCommand}"
RotatedCommand="{Binding RotatedCommand}"
>
<ffimageloading:CachedImage WidthRequest="300" HeightRequest="300"
DownsampleToViewSize="true" Source="{Binding ImageUrl}">
</ffimageloading:CachedImage>
</Grid>