Flex Layout -> BindableLayout not working after ItemsSource changed in new vs preview version
See original GitHub issueDescription
Repo that duplicates the bug (It’s happend with observable collection / List / Ienumerable …)
Im working on another project (and yesterday update vs preview to last version) and all data dissapear.
I try to reproduce it in the most simple way that i have. I’m doing something wrong?
Steps to Reproduce
- Create Maui Project
- Add Flex layout with bindinglayout.ItemsSource = “any list”
- Add Data to the List
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12.0 - API 31 // Android 13.0 - API 33
Did you find any workaround?
Rollback to a VS 17.1.0
Relevant log output
-
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to update FlexLayout when ObservableCollection ...
I'm new to Xamarin and struggle with displaying some fetched objects (Products in my case) as buttons into a FlexLayout. Getting the result...
Read more >Xamarin Forms custom control BindableLayout items not ...
Sometimes, if I change the xaml while the app is running, the items will show, seeming to indicate that the data binding is...
Read more >The Xamarin.Forms FlexLayout
Forms FlexLayout is new in Xamarin.Forms version 3.0. It is based on the CSS Flexible Box Layout Module, commonly known as flex layout...
Read more >BindableLayout - .NET MAUI
Bindable layouts should only be used when the collection of items to be displayed is small, and scrolling and selection isn't required.
Read more >Learning .NET MAUI: Unlock the potential of .NET MAUI for ...
NET MAUI for Cross-Platform app development (English Edition) Aleksei Starkov. are available even on devices like iPhone 5s , where FlexLayout arranges ...
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
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 4.0. Not repro on android platform with sample project. Repo
Hi @LeanTolo. We have added the “s/try-latest-version” label to this issue, which indicates that we’d like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.