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.

Disabling animation when changing ItemSource

See original GitHub issue

Hi @AndreiMisiukevich,

Is there a way to remove the animation when changing ItemSource?

Code to repro could be the following:

resetting the item where myContentList is a pointer to another container that has been refreshed but not picked up by ItemSource event handler. Forcing a reset by changing the source to Null before resetting it to myContentList

ContentCarouselView.ItemSource = null;
ContentCarouselView.ItemSource = myContentList;

or simply changing the itemsource to another container

ContentCarouseView.ItemSource = new List<ContentDataModel>() {
                        new ContentDataModel() { RawText = "hello world!" }
                    };

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nawidycommented, Dec 1, 2018

Thanks @AndreiMisiukevich as always for your prompt response!

0reactions
AndreiMisiukevichcommented, Mar 5, 2020

or provide me a sample with issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to update RecyclerView item without animation?
There is a dedicated method to disable just item changed animations: ((SimpleItemAnimator) myRecyclerView.getItemAnimator()).
Read more >
How to implement ItemAnimator of RecyclerView to disable ...
In my project I need disable the "change" animation of RecyclerView while notifyItemChanged . I investigated in the source of RecyclerView and ...
Read more >
AnimatedPanel does not provide a way to disable animation
Hi Frank, Try placing the standard DockPanel to the overridden AppBar.ItemsPanel template to disable the item moving animation. XAML. <dxwui ...
Read more >
You can now Disable Pickup Animations in the Settings
Settings -> General -> Pickup Animations. If you switch it to off she now she instantly acquires an item without having to squat...
Read more >
Disable Default Animation in RadTreeView - Telerik UI for WPF
To disable the default animations, all you have to do is to set the following attached property to the RadTreeView control: XAML. <telerik: ......
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