BindingList-BindableLayout not updating
See original GitHub issueDescription
When using a BindingList as an ItemSource of a BindableLayout, changes being made in the BindingList don’t get reflected in the BindableLayout.
v6.0.540
Steps to Reproduce
- Create a VerticalStackLayout with a BindableLayout
- Bind the ItemsSource of the BindableLayout to a BindingList
- Add items to the BindingList
Optionally you can do the same with an ObservableCollection. Then it works.
Link to public reproduction project repository
Version with bug
Unknown/Other (please specify)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Tested on Windows 11 and Android 12.1 (Emulator)
Did you find any workaround?
Using an ObservableCollection instead is possible. In some cases a BindingList might be more convenient though.
Relevant log output
❌
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can't update data bindings from object in Xamarin forms
1 Answer 1 ... According to Jason's opinion, you don't need to use BindableLayout and a DataTemplate if you only have a single...
Read more >Bindable Layouts in Xamarin.Forms
Bindable layouts enable layout classes to generate their content by binding to a collection of items, with the option to set the appearance ......
Read more >.Net Maui | List Binding | MVVM advance feature - YouTube
A bindable layout can be used when the data to be displayed ... Many properties and events from ListView are not present in...
Read more >How to correctly use databinding with ListView and ...
In this post I'll show how to properly use the MVVM (Model - View - ViewModel) design pattern in Xamarin Forms with ListView...
Read more >[Code]-Data Binding List within a List - appsloveworld.com
Forms display a data in list works in debug but not in release mode · Xamarin.Forms binding with data trigger - value not...
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 Free
Top 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

We’ve moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. This issue works on iOS 16.4, but some layout issues on Android 13.0-API33. MauiViewUpdateBug.zip
iOS:
Android: