It only works properly after I refresh the ItemsSource
See original GitHub issueI’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}">
- When it finished displaying on screen, I swipe left to see the 2nd item => it worked well
- 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.
- I click button refresh, to load data and binddata again. This time, it worked well.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@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