Relative Content

Tag Archive for c#android.netmaui

How do I get my swipe view to delete an item in a collection view located in my flyout?

I’m trying to setup deleting functionality for my term tracking app, but I’m having some issue where when I swipe, the swipe view closes, but no deleting happens. My breakpoint on my DeleteTermAsync method is not even being hit so I’m think there’s some issue with the Command=”{}” part of the code that is making the DeleteTermAsyncCommand not be hit/found. If anyone knows how I can modify it to make sure it’s hit, I’d really appreciate it!
Flyout terms swipe delete

How do I fix the positioning of the page on orientation change in android for .net MAUI?

I have a .NET MAUI application that was working for fine for android when the orientation changes from portrait to landscape. However, after some packages for the project were upgraded, I now have a weird black void on the left side of the screen when the orientation has been changed to landscape. As if the whole screen shifted by a few pixels to the right. (Note: I am referring to the whole PAGE object itself, not any XAML element in the layout.) I do wonder if this problem can be solved without the need to revert the packages though.

Add dependencies to .NET MAUI Android

I have an MAUI application that should be run on Windows and Android devices. I need to add some DLLs to the application so I can load those DLLs by reflection in runtime. I copied DLLs to the /Resources/Raw folder and then built the project for Android, but I couldn’t find those DDLs with reflection. Seems those DLLs are not being included in the package.

How can I add bottom text to a google maps pin with .NET 8 MAUI, or to make the label stay visible always?

I made a .NET 8 MAUI project for a mobile app, I got the map working and I have a list of icons that represent physical units that are tracked on the map, all of these icons must have a text with the unit id, however, when I create the the pins, the label property of the pins only appears when the specific pin is selected and disappears when not selected. The Pin class doesn’t have a property to keep the labels visible

How to share Text and Uri to Facebook using .net maui?

I have built a product catalogue app, where I am trying to implement share feature, primarily targeting to share to Whatsapp and facebook. Shared content has 2 links in it. One URI for the Product itself, and another is the Playstore app download URI. I tried below in .net maui