是否可以将FFImageLoading与Mr.Gestures结合使用?如果是这样,那怎么可能?
在该线程中被提及:https://forums.xamarin.com/discussion/32956/mr-gestures-handles-all-touch-gestures/p8
答案 0 :(得分:1)
目前,您只能使用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>