CarouselView icon indicating copy to clipboard operation
CarouselView copied to clipboard

not appearing on Android while ok on iOS

Open torelizer opened this issue 4 years ago • 4 comments

I just added CarouselView to my solution, installing it with nuget in both the iOS and Android projects and adding CarouselViewRenderer.Init() to AppDelegate.cs and MainActivity.cs respectively. I'm compiling using Android 11.0 / API Level 30 - R.

I tried with just a little test code (here below) and while on iOS it's all ok, on Android nothing at all appears. There are no errors or warnings that seem related to this, the packages seem correctly included and loaded.

<crsl:CarouselViewControl Grid.Row="1" Grid.Column="1" ItemsSource="{Binding Inputs}"> <crsl:CarouselViewControl.ItemTemplate> <DataTemplate> <StackLayout Orientation="Horizontal"> <Label BackgroundColor="Red" Text="{Binding Name}" HorizontalOptions="FillAndExpand"/> </StackLayout> </DataTemplate> </crsl:CarouselViewControl.ItemTemplate> </crsl:CarouselViewControl>

Is there some possible compatibility issue or missing initialization..?

torelizer avatar Apr 08 '21 11:04 torelizer

@torelizer were you able to find a solution for this?

pmahend1 avatar Jul 14 '21 23:07 pmahend1

Same problem... But mine is not showing where nested, I'm not sure it matters or not...

chaoyebugao avatar Aug 12 '21 09:08 chaoyebugao

I was having the same issue as above, but using the xamarin forms version of a CarouselView has fixed this issue (see here for more details) not much to convert from this package

Maniacy2k avatar Dec 05 '22 15:12 Maniacy2k

Upgrade XF to the latest version, I've found the same issue. And I fix it by this: https://github.com/microspaze/CarouselView.Maui/commit/c620e525ee946b66a7b7f45462504f153eb16ffc

You can try it.

microspaze avatar Jun 29 '23 09:06 microspaze