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.

Flex Layout -> BindableLayout not working after ItemsSource changed in new vs preview version

See original GitHub issue

Description

Repo that duplicates the bug (It’s happend with observable collection / List / Ienumerable …)

Repo

bug

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

  1. Create Maui Project
  2. Add Flex layout with bindinglayout.ItemsSource = “any list”
  3. 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Zhanglirong-Winniecommented, Jul 27, 2023

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 4.0. Not repro on android platform with sample project. Repo

0reactions
msftbot[bot]commented, Jul 27, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

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