Closed ericbrunner closed 10 months ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
the issue still exists in .NET 8 RC1
Hi @ericbrunner. 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.
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2. Not repro on android platform with sample project. https://github.com/ericbrunner/TaskyApp.Maui.SingleProject/commit/832289f9f126f5189552d0e9ab50b1c7d57138fd
Description
I am trying to setup a CarouselView in my ContentPage whereby the content items are defined as ContentView items (which have there layout and content completely defined in their own XAML file). Like so:
The TabItems is an observable collection like:
Installed workloads:
Steps to Reproduce
Java.Lang.IllegalStateException Message=The specified child already has a parent. You must call removeView() on the child's parent first.
Is there a way in .NET MAUI to show custom controls based on ContentView class to a CarouselView?
Link to public reproduction project repository
https://github.com/ericbrunner/TaskyApp.Maui.SingleProject/commit/832289f9f126f5189552d0e9ab50b1c7d57138fd
Version with bug
Unknown/Other
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
No. A further attempt would be to create a
DataTemplate
for each individual custom Control (ContentView) and use aDataTemplateSelector
Relevant log output