Forum Xamarin.Forms

Data Template for CarouselView throws error of DataTemplate returned non-view content in Xamarin.For

I want to create DataTemplate for CarouselView where I can set ActivityIndicator before the image gets loaded. I have tried by following way but it throws an error. Can anybody please suggest me?

I am getting this error: System.InvalidOperationException: DataTemplate returned non-view content: 'TestPro.CacheImageCell'.

I have tried a lot to put my code here but it looks like something is wrong with this editor. It doesn't show my xaml code in question. So, I have put my code in Stack Over Flow.

Here is the link: Question


Sign In or Register to comment.