question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Type fftransformations:CircleTransformation not found

See original GitHub issue

Hi, only in IOS thrown this error, my image is inside a list view

Error message

Xamarin.Forms.Xaml.XamlParseException: Position 68:11. Type fftransformations:CircleTransformation not found in xmlns clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations

namespace declaration xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms" xmlns:fftransformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"

ListView ` <ListView x:Name="LstView" ItemsSource="{Binding Listado}" IsRefreshing="{Binding IsBusy, Mode=OneWay}" RefreshCommand="{Binding GetListadoCommand}" SelectedItem ="{Binding ObjElegidoList, Mode=TwoWay}" IsPullToRefreshEnabled="true" HasUnevenRows ="True" CachingStrategy="RecycleElement">

<ListView.ItemTemplate>
	<DataTemplate>
		<ViewCell>
			<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand">

				<ffimageloading:CachedImage 
					HorizontalOptions="Center" 
					WidthRequest="80"
					HeightRequest="80"
					DownsampleToViewSize="true"
					TransparencyEnabled = "false"
					LoadingPlaceholder = "CargandoFoto.png"
					ErrorPlaceholder = "SinFoto.png"
					Source = "{Binding Productos_Fotos_Url}">
					<ffimageloading:CachedImage.Transformations>
						<fftransformations:CircleTransformation />
					</ffimageloading:CachedImage.Transformations>
				</ffimageloading:CachedImage>

			</StackLayout>
		</ViewCell>
	</DataTemplate>
</ListView.ItemTemplate>
</ListView> `

I already remove all packages and install, remove all bin and obj folders, clean project, but the error is there.

in android work well.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
daniel-luberdacommented, Jan 21, 2017

It’s probably Xamarin.Forms linker issue. Just reference you transformation in a platform specific project. Something like this:

Android: MainActivity.cs: var ignore = new CircleTransformation();

iOS: AppDelegate.cs: var ignore = new CircleTransformation();

2reactions
rasmuschristensencommented, Jan 13, 2018

Should this be fixed in 2.3.4? I had to make an instance in appDelegate to make it work in Xamarin Forms

Read more comments on GitHub >

github_iconTop Results From Across the Web

Möbius transformations lines and circles
Geometrically, it is easy to see that translation and dilation preserve circles and lines. Inversion Preserves Circles Not Passing Through The ...
Read more >
Transforming Circles
To transform a circle, you can think about key features like the center and radius. ... We start with the general equation of...
Read more >
Not able to use glide-transformations ON Glide 4.4
I can not find a way to apply RoundedCornersTransformation any more. I am using glide-transformations and there is not a correct solution ...
Read more >
Common types of transformation
Here are the most common types: Transformations. Translation is when we slide a figure in any direction. Reflection is when we flip a...
Read more >
Composition of Transformations (Isometries)
In a composition, one transformation produces an image upon which the other transformation is then ... Composition of transformations is not commutative.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found