Application causes freeze/slowness after using for some time
We have migrated our app into MAUI.
In Android devices or even in emulator release mode if I use the application for some time it starts getting slow and eventually freezes or crashes. It generally happens when I click on a button, and some operation happens and redirects to another screen.
I tried GC.Collect which prevents application crash but make it app slow.
Migrating from ‘Microsoft.Azure.Mobile.Client’ to Modern Database Solutions in MAUI
I am currently migrating one of my xamarin forms apps to MAUI and need to replace the outdated ‘MicroSoft.Azure.Mobile.Client’ package, which I used to connect my app to my database. Previously, I managed the connection with the following code:
Text truncation in .NET MAUI for Editor control when its not being edited
When it have a long text that is not being edited, I want to show 2 or 3 lines with ellipsis and when that field is being edited the full text should be visible. For this I have tried this
BindableProperty setter never called when property set
I’m working on a custom control in .net MAUI. This is what I have:
ScrollView used in side Grid control in complex ui gives extra space in Android
<Grid HorizontalOptions=”Fill” RowDefinitions=”Auto, *, Auto” VerticalOptions=”Fill”> <customControls:InspectionHeaderView Title=”{Binding Path=Title}” Grid.Row=”0″ /> <ScrollView x:Name=”scrollView” Grid.Row=”1″ HorizontalOptions=”Fill” VerticalScrollBarVisibility=”Always”> <Grid RowDefinitions=”Auto, Auto, *, *”> <VerticalStackLayout x:Name=”container” Grid.Row=”0″ Padding=”20,15″> <!–Other controls–> </VerticalStackLayout> <CollectionView Grid.Row=”2″ ItemSizingStrategy=”MeasureAllItems” ItemsSource=”{Binding SelectedViolationItem.InspectionHealthViolationCodeRefs}”> <CollectionView.ItemTemplate> <DataTemplate x:DataType=”inspections:InspectionHealthViolationCodeRef”> <!–Other controls–> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView> <VerticalStackLayout Grid.Row=”3″ VerticalOptions=”Start”> <!–CollectionView inside this–> </VerticalStackLayout> </Grid> </ScrollView> <Grid Grid.Row=”2″ BackgroundColor=”{StaticResource WhiteSmoke}” ColumnDefinitions=”Auto,*” […]
How to use .Net Upgrade Assistant on Visual Studio 2022 MAC
I am trying to upgrade Xamarin.Forms project to .Net MAUI using .Net Upgrade Assistant in Visual Studio 2022 MAC. I am not able to install .Net Upgrade Assistant extension into my Visual Studio 2022 MAC. I tried installing it by CLI sudo dotnet tool install -g upgrade-assistant. I am not sure whether that is correct or not.