r2d25551
Connect
How to upgrade repo to .Net 7 or .Net 8 (https://github.com/CommunityToolkit/Lottie-Windows). I have been trying on and off now probably since November 2023. I spent a lot of time on something I consider to be trivial. Any help is appreciated.
Visual Studio output is:
1 replies
❔ How to connect events
I am trying to connect the ISKGLViewController.GetCanvasSize event (https://learn.microsoft.com/en-us/dotnet/api/skiasharp.views.maui.controls.iskglviewcontroller.getcanvassize?view=skiasharp-views-maui-2.88) to my implementation.
But I do not know how to do so.
3 replies
❔ .NET MAUI Android Filesystem
I am getting a Read-only access violation when I try to create a directory in the path returned from MediaStore.Files.GetContentUri:
Are these return values correct?
Am I using the AbsolutePath correctly?
Any suggestions on how to resolve the Read-only access violation is appreciated.
2 replies
❔ Bind derived class and base class to CollectionView and Picker
I am trying to bind a derived class to a Picker, and the base class to a CollectionView. Should this work? My picker is always empty:
The base class bindings are fine. . . but my picker is having trouble.
7 replies
❔ Navigation.PushModalAsync() not modal
I am trying to popup a modal ConetPage using:
From a class inheritance of:
Sadly neither of these worked:
During a button event I am trying to display another page in modal form and wait for the user response. This page is based on ContentPage, contains a VerticalStackLayout, ScrollView, and CollectionView.
2 replies
❔ How To Refresh ContentPage Controls
When routing from the MainPage to my details page I pass in:
The detail page properly receives the passed parameter. But there is caveat. It is not available to OnLoaded is called.
The initial control values are nearly empty, except for DateTime, etc. Also, there are times when the passed parameters are null, and new detail item is being created. The BindingContext is set in the page constructor, and XAML references the x:DataType:
At this point my controls are blank. How do I ask the page to refresh?
Do I need to do so manually for each control?
3 replies
❔ CollectionView Questions
Does the Grid.GestureRecognizers work? The Image.GestureRecognizers does but I am having trouble getting the Grid events. Where does the Grid.GestureRecognizers go? I have tried the top; below row/col definitions; and bottom.
How do I store the "this" pointer in a collection view? TreeView we stored our own pointer to the underlying data. What is the equivalent of c# collection view?
3 replies
✅ Async PushButton Functions
What is the proper way to handle FileIO asynchronously?
I have a Utility class that performs various functions, one in particular:
The compiler complains at the await Utils.PickPhoto();
If I remove it, and satisfy the complier errors no result is returned.
Is my setup correct?
What am I doing wrong?
Thank you in advance.
14 replies