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.

It only works properly after I refresh the ItemsSource

See original GitHub issue

I’m using VS 2019 for MAC, Xamarin.Forms 3.2.0.871581

I used this library in my project, and I saw that, It only works properly if I refresh the ItemsSource. For the first time of loading, it still had the peek for previous Item even when I was displaying the first Item.

I setup as below <cards:CoverFlowView IsViewCacheEnabled="false" HeightRequest="180" PositionShiftValue="70" IsCyclical="false" ItemsSource="{Binding Data.Value}">

  1. When it finished displaying on screen, I swipe left to see the 2nd item => it worked well
  2. I swipe right to see 1st item => It displayed peek for previous item

=> expected: it should not display peek for previous item. because the 1st item does have previous item.

  1. I click button refresh, to load data and binddata again. This time, it worked well.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
AndreiMisiukevichcommented, May 11, 2019

removing items works fine, just tried on sample So, if you want to get help, provide sample. I think, there is some bug in your code.

1reaction
AndreiMisiukevichcommented, May 9, 2019

@jerryno6 yeah) It would be awesome, if you fork my repository, add code with issue, then send me branch name. It will allow me to debug easily

Read more comments on GitHub >

github_iconTop Results From Across the Web

ItemsSource binding do not update values
I binded collection of users to listbox. Everything works quite well, but items in listbox aren't updated in real time. They aren't updated...
Read more >
ListView ItemsSource refreshing problems in Windows and ...
Setting a list as ItemsSource works fine first time, ... THIS WILL REFRESH THE LIST ONLY FIRST TIME AFTER THAT IT WON'T WORK...
Read more >
How to Refresh a ListBox
I solved the problem by changing the ItemsSource of the ListBox to a CollectionView and refreshing the view after a change of an...
Read more >
Grid - CurrentItemChanged is raised with unexpected ...
It changes the current item twice on re-assigning ItemsSource - before and after sorting is applied. While we cannot change this behavior, we've ......
Read more >
Refresh Combobox Items list and seleceted ...
ItemsSource ).Refresh(); and clearing and setting the binding again to ComboboxList . This works for the items list, but not for the current ......
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