daniel-luberda / DLToolkit.Forms.Controls

Xamarin.Forms Custom Controls
Apache License 2.0
393 stars 182 forks source link

Does not move or zoom in XF 4 #286

Open rezamohamed opened 4 years ago

rezamohamed commented 4 years ago

I have created a project and added what is required for the 'simple example', the image appears, but the image does not zoom or move. Can someone tell me if this still works please?

Heres my main.xaml

    xmlns:controls1="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.ImageCropView"
    xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"

            <controls1:ImageCropView HeightRequest="300" WidthRequest="300" x:Name="cropView"
                                   Source="http://photos2.insidercdn.com/iphone4scamera-111004-full.JPG">
                <controls1:ImageCropView.PreviewTransformations>
                    <transformations:CircleTransformation />
                </controls1:ImageCropView.PreviewTransformations>
            </controls1:ImageCropView>

Android mainactivity.cs FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);

<PackageReference Include="DLToolkit.Forms.Controls.ImageCropView" Version="1.0.7" />
<PackageReference Include="PropertyChanged.Fody" Version="3.2.6" />
<PackageReference Include="Xamarin.FFImageLoading" Version="2.4.11.982" />
<PackageReference Include="Xamarin.FFImageLoading.Forms" Version="2.4.11.982" />
<PackageReference Include="Xamarin.FFImageLoading.Transformations" Version="2.4.11.982" />
wstanczewski commented 4 years ago

@rezamohamed I had the same problem in my Xamain.Forms Project. I managed to get it working by downgrading FFImageLoading nugets to the v2.4.6.929 versions.

lsaudon commented 4 years ago

268 Same problem