-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maui Android Crash CarouselView IndicatorView on navigating second time #11310
Comments
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. |
I am getting a "VirtualView cannot be null here" exception when navigating a second time to a page and then clearing and re-adding elements to an ObservableCollection bound to a CollectionView. Only happens on Android and only in the exact moment the first new element is added to the ObservableCollection. Is my issue likely to be related to and/or fixed by this issue? |
I am seeing the same issue as @jaldinger "VirtualView cannot be null here" when adding first item to ObservableCollection. Im not 100% sure, but i think this started happening to me after switching to .NET 7 |
Does this happen to you already on the first navigation, or only on the second, like to me? |
It does not happen to me when navigating, but when Invoking an Add in my ViewModel after recieving a PubSub message. This only Happens if the Collection is empty and only on the first element being added.
|
This fixes it for me until it is patched. Based on #12141
|
Works Great For Me |
Description
Maui Android Crash when there is CarouselView with IndicatorView and navigating second time to the page .
`
public ObservableCollection ProductFileList { get; set; } = new ObservableCollection();
void LoadProductFiles()
{
if (IsBusyProductFiles) { return; }
IsBusyProductFiles = true;
Steps to Reproduce
Link to public reproduction project repository
dont have
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: