AndreiMisiukevich / CardView

CardsView | CarouselView | CoverflowView | CubeView for Xamarin.Forms
MIT License
710 stars 114 forks source link

IsCyclical="false" is causing the content to be blank/not show up #403

Closed brettnguyen closed 2 years ago

AndreiMisiukevich commented 2 years ago

Could you please provide a sample?

brettnguyen commented 2 years ago

seems to only be blank with iscyclical = false when I bind something to the selectedItem. But isn't blank on iscyclical = true with a binding to a selectedItem. I have the card view in the aboutpage.xaml. https://github.com/brettnguyen/TestPanView

brettnguyen commented 2 years ago

Could just be the way I am binding but I was confused when it worked for true but not false. Thank you for any help or feedback.

AndreiMisiukevich commented 2 years ago

Hi, could you please try to use selectedIndex instead of selectedItem? Maybe it will solve the problem

brettnguyen commented 2 years ago

Will try when I’m home

brettnguyen commented 2 years ago

Hi, could you please try to use selectedIndex instead of selectedItem? Maybe it will solve the problem

this change worked thank you for the help