diff --git a/10.0/AI/ChatClient/src/Platforms/Android/MainApplication.cs b/10.0/AI/ChatClient/src/Platforms/Android/MainApplication.cs index f62430d7d..376da0a19 100644 --- a/10.0/AI/ChatClient/src/Platforms/Android/MainApplication.cs +++ b/10.0/AI/ChatClient/src/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SimpleChatClient; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/AI/ChatClientWithTools/src/Platforms/Android/MainApplication.cs b/10.0/AI/ChatClientWithTools/src/Platforms/Android/MainApplication.cs index b8f2da2d4..01d833a77 100644 --- a/10.0/AI/ChatClientWithTools/src/Platforms/Android/MainApplication.cs +++ b/10.0/AI/ChatClientWithTools/src/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ChatClientWithTools; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Animations/Animations/Platforms/Android/MainApplication.cs b/10.0/Animations/Animations/Platforms/Android/MainApplication.cs index ae4d96ddc..a8e5c296a 100644 --- a/10.0/Animations/Animations/Platforms/Android/MainApplication.cs +++ b/10.0/Animations/Animations/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Animations; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs b/10.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs index 5d6f55e3a..83d8c89c6 100644 --- a/10.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace BugSweeper { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs b/10.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs index b2acd9839..0fa1f0f2d 100644 --- a/10.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Calculator; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs b/10.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs index 0dd945ae9..0156cf588 100644 --- a/10.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DeveloperBalance; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs b/10.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs index ea096aede..fc03a542c 100644 --- a/10.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs @@ -4,11 +4,7 @@ namespace EmployeeDirectory.Platforms.Android; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file +} diff --git a/10.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs b/10.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs index 49b2e7159..41767b6fa 100644 --- a/10.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace GameOfLife; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs b/10.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs index da741ddab..42f1f975e 100644 --- a/10.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace PointOfSale; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs b/10.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs index 5540dfb89..5ee4d05c0 100644 --- a/10.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace RpnCalculator { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs b/10.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs index 2f0a046b2..b8d05ae5e 100644 --- a/10.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SolitaireEncryption { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs b/10.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs index 1e7f0cf42..97ba5a5cd 100644 --- a/10.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TipCalc { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs b/10.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs index 16002b392..3d2457308 100644 --- a/10.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Weather { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs b/10.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs index 3d8ebf24f..dcc473a9f 100644 --- a/10.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs @@ -7,12 +7,7 @@ namespace WeatherTwentyOne; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/10.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs b/10.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs index 09823878d..832c090c1 100644 --- a/10.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs @@ -8,13 +8,8 @@ namespace Recipes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} \ No newline at end of file +} diff --git a/10.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs b/10.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs index 2870da3b8..ff36a4ebf 100644 --- a/10.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs +++ b/10.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WordPuzzle { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs b/10.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs index c04333f66..c8ba5fd60 100644 --- a/10.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs +++ b/10.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BeginnersTasks; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/BillingService/BillingService/Platforms/Android/MainApplication.cs b/10.0/BillingService/BillingService/Platforms/Android/MainApplication.cs index 346ca6fce..a35d7caf0 100644 --- a/10.0/BillingService/BillingService/Platforms/Android/MainApplication.cs +++ b/10.0/BillingService/BillingService/Platforms/Android/MainApplication.cs @@ -4,12 +4,8 @@ namespace BillingService; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } + diff --git a/10.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs b/10.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs index d2987a38f..65d0f23b1 100644 --- a/10.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs +++ b/10.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TodoSQLite; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs index bbad3a61d..a46f9f190 100644 --- a/10.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BehaviorsDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs index 6b2474be8..3b5b02f2a 100644 --- a/10.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ClassHierarchy { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs index 8640cd327..a1afe49b2 100644 --- a/10.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ContextMenuSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs index 8a8d21be9..16a096384 100644 --- a/10.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ControlTemplateDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs index 0f808e66f..d672b449b 100644 --- a/10.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DataBindingDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs index 02b926d5e..bf842c62e 100644 --- a/10.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DataTemplates; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs index bafad6e0a..18642fd82 100644 --- a/10.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace LocalizationDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} \ No newline at end of file +} diff --git a/10.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs index 797a5f99f..7836ccaa7 100644 --- a/10.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Xaminals; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs index 06e7c8123..3aa745ff5 100644 --- a/10.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TooltipsSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs b/10.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs index 8ba6694f5..6e0b97569 100644 --- a/10.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs +++ b/10.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithTriggers; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs b/10.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs index df7e59c6e..9596f97e8 100644 --- a/10.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace FlyoutPageNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs b/10.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs index e1d5b7906..795120193 100644 --- a/10.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace FlyoutPageSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs b/10.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs index 0e87d5273..5d0d6416c 100644 --- a/10.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs b/10.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs index 67dc33281..21df32f6a 100644 --- a/10.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace LoginNavigation { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs b/10.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs index 93fe58de7..801ab0633 100644 --- a/10.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ModalNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs b/10.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs index 4ceee4007..66243942e 100644 --- a/10.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PassingData { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs b/10.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs index 28ae830ff..ccae1bf2a 100644 --- a/10.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithPopups { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs b/10.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs index aa588b8d3..2827a007d 100644 --- a/10.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellFlyoutSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs b/10.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs index 7f6447cd0..e26f863a6 100644 --- a/10.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellMixedSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs b/10.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs index ad1809803..36ae6abd0 100644 --- a/10.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellTabBarSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs b/10.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs index 0c3da51ba..08510887c 100644 --- a/10.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TabbedPageSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs b/10.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs index 3a1448f30..89cb0e31b 100644 --- a/10.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TabbedPageDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs b/10.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs index 0290a9c61..428d2451e 100644 --- a/10.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs @@ -5,13 +5,8 @@ namespace TabbedPageSVGIcons { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs b/10.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs index c94feb8ee..c45405843 100644 --- a/10.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TabbedPageWithNavigationPage { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs b/10.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs index c388637e0..8980bdc43 100644 --- a/10.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs +++ b/10.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace NavigationPageTitleView { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs b/10.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs index e924b9ff1..120eab30e 100644 --- a/10.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs +++ b/10.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace PackageConsumerApp; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/10.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs b/10.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs index 2f2574086..96d27f403 100644 --- a/10.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs +++ b/10.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace InvokePlatformCodeDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/PlatformIntegration/LiveActivityDemo/LiveActivityDemo/Platforms/Android/MainApplication.cs b/10.0/PlatformIntegration/LiveActivityDemo/LiveActivityDemo/Platforms/Android/MainApplication.cs index ee6769735..3e6cc120f 100644 --- a/10.0/PlatformIntegration/LiveActivityDemo/LiveActivityDemo/Platforms/Android/MainApplication.cs +++ b/10.0/PlatformIntegration/LiveActivityDemo/LiveActivityDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,8 @@ namespace LiveActivityDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } + diff --git a/10.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs b/10.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs index 4c2ea38dc..5e82474cd 100644 --- a/10.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs +++ b/10.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace LocalNotificationsDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs b/10.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs index df46d48c2..c5b04c81a 100644 --- a/10.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs +++ b/10.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TestHarnessApp; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs b/10.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs index 5a83b5823..9733d3d28 100644 --- a/10.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs +++ b/10.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PlatformIntegrationDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs b/10.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs index 0082d3973..c4cfdb782 100644 --- a/10.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs +++ b/10.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TiltMaze { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs b/10.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs index e14de83d2..99c805292 100644 --- a/10.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs +++ b/10.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CatClock { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs b/10.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs index 84db9d9e9..681e6e611 100644 --- a/10.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs +++ b/10.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace MandelbrotAnimation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs b/10.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs index 26a1c34a0..bb9aa2087 100644 --- a/10.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs +++ b/10.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PhotoPuzzle; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs b/10.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs index 12be5cb28..284916325 100644 --- a/10.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs +++ b/10.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SkiaSharpDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs b/10.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs index d9ece4970..9625a17aa 100644 --- a/10.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs +++ b/10.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SpinPaint; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs b/10.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs index 421467597..12229d557 100644 --- a/10.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs +++ b/10.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Notes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs b/10.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs index 421467597..12229d557 100644 --- a/10.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs +++ b/10.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Notes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs b/10.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs index c1bed8c54..2c99842c0 100644 --- a/10.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs +++ b/10.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BasicAppiumSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/10.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs b/10.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs index c1bed8c54..2c99842c0 100644 --- a/10.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs +++ b/10.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BasicAppiumSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/10.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs index 0b1afad6a..1ae89eada 100644 --- a/10.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BrushesDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs b/10.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs index 1884363bc..22c9eea57 100644 --- a/10.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ControlGallery; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs index c1a4a86d7..07af05707 100644 --- a/10.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace VideoDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs index dbec54dfa..8151c340f 100644 --- a/10.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CustomizeHandlersDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs index 988516628..db4f789f1 100644 --- a/10.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace HyperlinkDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs index bee070207..50db4af5a 100644 --- a/10.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace AbsoluteLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs index eef316384..a7290d70f 100644 --- a/10.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BindableLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs index 66da6e4a8..f6b720f5b 100644 --- a/10.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CustomLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs index b074b1dc1..d17358afb 100644 --- a/10.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace FlexLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs index 1c81d7e84..0f3ca3cc7 100644 --- a/10.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace GridDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs index bfc5e9f9b..f488391db 100644 --- a/10.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace StackLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs b/10.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs index 8212224a8..540af9121 100644 --- a/10.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ScaleAndRotate { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs index 48fb34315..01095f1ad 100644 --- a/10.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SystemThemesDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs index 7ad53bfee..6da7314b4 100644 --- a/10.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ThemingDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs index e3a4f7a4d..d5f36ba49 100644 --- a/10.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CarouselViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs index 1bffb97e9..6c181e3e3 100644 --- a/10.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CheckBoxDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs index cf222a008..91baab05c 100644 --- a/10.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CollectionViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs index 882a76ddf..074b87852 100644 --- a/10.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CardViewDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs index 12046cf92..e2a128525 100644 --- a/10.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace GraphicsViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs index d055d8d34..f65535c91 100644 --- a/10.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace HybridWebViewDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs index 0d70b277a..55b9c8c91 100644 --- a/10.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace IndicatorViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs index ce3e64619..dce6a3c2a 100644 --- a/10.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ListViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs index d1b99f9c3..d392bc7ae 100644 --- a/10.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithMaps; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs index 88a942046..97e81ae77 100644 --- a/10.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace RadioButtonDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs index d9aa2d6fd..97e194c3b 100644 --- a/10.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace RefreshViewDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs index fbc3414ec..e1512586c 100644 --- a/10.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ScrollViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs index f7c5043a3..6198675a4 100644 --- a/10.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShapesDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs index 4e30fd7e5..40281814c 100644 --- a/10.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SwipeViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs index 0071e42a6..c0211af9d 100644 --- a/10.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SwitchDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs index f9217b61c..c22aa1333 100644 --- a/10.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TitleBarDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs b/10.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs index 9c9be1226..cfb914b6d 100644 --- a/10.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace MauiTwoPaneViewDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs index 02de1a8f2..fd4b4a50c 100644 --- a/10.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithColors; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs index 0be258f73..ef75b2524 100644 --- a/10.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithFiles; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs index 8351e5f99..7ab97700c 100644 --- a/10.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithFonts { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs index 7b6092aeb..04decde38 100644 --- a/10.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs @@ -6,13 +6,8 @@ namespace DragAndDropGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs index 288cdecd7..675fa230c 100644 --- a/10.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PanGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs index cc2822761..b92623baf 100644 --- a/10.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PinchGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs index 09ead38bf..30aeb0cba 100644 --- a/10.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SwipeGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs b/10.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs index 3a4c06fef..185a0bfd9 100644 --- a/10.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs +++ b/10.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TapGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs b/10.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs index 87c98bc73..86086c16a 100644 --- a/10.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs +++ b/10.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PushNotificationsDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/10.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs b/10.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs index 24dfaeb76..2fff757db 100644 --- a/10.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs +++ b/10.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TodoREST; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs b/10.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs index d7546a17e..5fe772567 100644 --- a/10.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs +++ b/10.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace XamlSamples; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/10.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs b/10.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs index 87676b710..6d83f6822 100644 --- a/10.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs +++ b/10.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace MarkupExtensions; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Animations/Animations/Platforms/Android/MainApplication.cs b/9.0/Animations/Animations/Platforms/Android/MainApplication.cs index ae4d96ddc..a8e5c296a 100644 --- a/9.0/Animations/Animations/Platforms/Android/MainApplication.cs +++ b/9.0/Animations/Animations/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Animations; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs b/9.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs index 97d135a35..cc9ade0fe 100644 --- a/9.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/BugSweeper/BugSweeper/Platforms/Android/MainApplication.cs @@ -4,13 +4,9 @@ namespace BugSweeper { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } + diff --git a/9.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs b/9.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs index 6cb77084b..cd87d6b5f 100644 --- a/9.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/Calculator/src/Calculator/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Calculator; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs b/9.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs index 0dd945ae9..0156cf588 100644 --- a/9.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/DeveloperBalance/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DeveloperBalance; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs b/9.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs index ea096aede..fc03a542c 100644 --- a/9.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/EmployeeDirectory/EmployeeDirectory/Platforms/Android/MainApplication.cs @@ -4,11 +4,7 @@ namespace EmployeeDirectory.Platforms.Android; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file +} diff --git a/9.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs b/9.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs index 49b2e7159..41767b6fa 100644 --- a/9.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace GameOfLife; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs b/9.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs index da741ddab..42f1f975e 100644 --- a/9.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/PointOfSale/src/PointOfSale/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace PointOfSale; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs b/9.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs index 5540dfb89..5ee4d05c0 100644 --- a/9.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/RpnCalculator/RpnCalculator/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace RpnCalculator { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs b/9.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs index 2f0a046b2..b8d05ae5e 100644 --- a/9.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/SolitaireEncryption/SolitaireEncryption/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SolitaireEncryption { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs b/9.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs index 1e7f0cf42..97ba5a5cd 100644 --- a/9.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/TipCalc/TipCalc/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TipCalc { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs b/9.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs index 16002b392..3d2457308 100644 --- a/9.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/Weather/Weather/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Weather { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs b/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs index 3d8ebf24f..dcc473a9f 100644 --- a/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/MainApplication.cs @@ -7,12 +7,7 @@ namespace WeatherTwentyOne; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/9.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs b/9.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs index 09823878d..832c090c1 100644 --- a/9.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/WhatToEat/src/WhatToEat/Platforms/Android/MainApplication.cs @@ -8,13 +8,8 @@ namespace Recipes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} \ No newline at end of file +} diff --git a/9.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs b/9.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs index 2870da3b8..ff36a4ebf 100644 --- a/9.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs +++ b/9.0/Apps/WordPuzzle/WordPuzzle/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WordPuzzle { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs b/9.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs index c04333f66..c8ba5fd60 100644 --- a/9.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs +++ b/9.0/Beginners-Series/BeginnersTask/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BeginnersTasks; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs b/9.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs index d2987a38f..65d0f23b1 100644 --- a/9.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs +++ b/9.0/Data/TodoSQLite/TodoSQLite/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TodoSQLite; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs index bbad3a61d..a46f9f190 100644 --- a/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BehaviorsDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs index 6b2474be8..3b5b02f2a 100644 --- a/9.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/ClassHierarchy/ClassHierarchy/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ClassHierarchy { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs index 8640cd327..a1afe49b2 100644 --- a/9.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/ContextMenu/ContextMenuSample/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ContextMenuSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs index 8a8d21be9..16a096384 100644 --- a/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ControlTemplateDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs index 0f808e66f..d672b449b 100644 --- a/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DataBindingDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs index 02b926d5e..bf842c62e 100644 --- a/9.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/DataTemplateDemos/DataTemplates/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace DataTemplates; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs index 9727f9466..8bff4269f 100644 --- a/9.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/Localization/LocalizationDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace LocalizationDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} \ No newline at end of file +} diff --git a/9.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs index 797a5f99f..7836ccaa7 100644 --- a/9.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/Shell/Xaminals/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace Xaminals; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs index 06e7c8123..3aa745ff5 100644 --- a/9.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/Tooltips/TooltipsSample/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TooltipsSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs b/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs index 8ba6694f5..6e0b97569 100644 --- a/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs +++ b/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithTriggers; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs b/9.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs index df7e59c6e..9596f97e8 100644 --- a/9.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/FlyoutPageNavigation/FlyoutPageNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace FlyoutPageNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs b/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs index e1d5b7906..795120193 100644 --- a/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace FlyoutPageSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs b/9.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs index 0e87d5273..5d0d6416c 100644 --- a/9.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/Hierarchical/WorkingWithNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs b/9.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs index 67dc33281..21df32f6a 100644 --- a/9.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/LoginFlow/LoginNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace LoginNavigation { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs b/9.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs index 93fe58de7..801ab0633 100644 --- a/9.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/ModalNavigation/ModalNavigation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ModalNavigation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs b/9.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs index 4ceee4007..66243942e 100644 --- a/9.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/PassingData/PassingData/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PassingData { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs b/9.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs index 28ae830ff..ccae1bf2a 100644 --- a/9.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/Pop-ups/WorkingWithPopups/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithPopups { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs b/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs index aa588b8d3..2827a007d 100644 --- a/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellFlyoutSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs b/9.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs index 7f6447cd0..e26f863a6 100644 --- a/9.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/ShellMixedSample/ShellMixedSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellMixedSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs b/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs index ad1809803..36ae6abd0 100644 --- a/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShellTabBarSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs b/9.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs index 0c3da51ba..08510887c 100644 --- a/9.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/TabbedPage/TabbedPage/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TabbedPageSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs b/9.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs index 3a1448f30..89cb0e31b 100644 --- a/9.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/TabbedPageDemo/TabbedPageDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TabbedPageDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs b/9.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs index 0290a9c61..428d2451e 100644 --- a/9.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/TabbedPageSVGIcons/TabbedPageSVGIcons/Platforms/Android/MainApplication.cs @@ -5,13 +5,8 @@ namespace TabbedPageSVGIcons { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs b/9.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs index c94feb8ee..c45405843 100644 --- a/9.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/TabbedPageWithNavigationPage/TabbedPageWithNavigationPage/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TabbedPageWithNavigationPage { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs b/9.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs index c388637e0..8980bdc43 100644 --- a/9.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs +++ b/9.0/Navigation/TitleView/NavigationPageTitleView/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace NavigationPageTitleView { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs b/9.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs index e924b9ff1..120eab30e 100644 --- a/9.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs +++ b/9.0/Packaging/NuGetWithMSBuildFiles/src/PackageConsumerApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace PackageConsumerApp; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs b/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs index 2f2574086..96d27f403 100644 --- a/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs +++ b/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace InvokePlatformCodeDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs b/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs index 2d6782d03..c16cf48cd 100644 --- a/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs +++ b/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,9 @@ namespace LocalNotificationsDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } + diff --git a/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs b/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs index df46d48c2..c5b04c81a 100644 --- a/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs +++ b/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TestHarnessApp; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs b/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs index 5a83b5823..9733d3d28 100644 --- a/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs +++ b/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PlatformIntegrationDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs b/9.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs index 0082d3973..c4cfdb782 100644 --- a/9.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs +++ b/9.0/Sensors/TiltMaze/TiltMaze/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TiltMaze { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs b/9.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs index e14de83d2..99c805292 100644 --- a/9.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs +++ b/9.0/SkiaSharp/CatClock/CatClock/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CatClock { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs b/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs index 84db9d9e9..681e6e611 100644 --- a/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs +++ b/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace MandelbrotAnimation; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs b/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs index 26a1c34a0..bb9aa2087 100644 --- a/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs +++ b/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PhotoPuzzle; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs b/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs index 12be5cb28..284916325 100644 --- a/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs +++ b/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SkiaSharpDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs b/9.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs index d9ece4970..9625a17aa 100644 --- a/9.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs +++ b/9.0/SkiaSharp/SpinPaint/SpinPaint/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SpinPaint; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs b/9.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs index 421467597..12229d557 100644 --- a/9.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs +++ b/9.0/Tutorials/ConvertToMvvm/code/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Notes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs b/9.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs index 421467597..12229d557 100644 --- a/9.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs +++ b/9.0/Tutorials/CreateNetMauiApp/code/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace Notes { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs b/9.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs index c1bed8c54..2c99842c0 100644 --- a/9.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs +++ b/9.0/UITesting/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BasicAppiumSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/9.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs b/9.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs index c1bed8c54..2c99842c0 100644 --- a/9.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs +++ b/9.0/UITesting/BrowserStackAppiumMaui/BasicAppiumNunitSample/MauiApp/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BasicAppiumSample; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/9.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs index 0b1afad6a..1ae89eada 100644 --- a/9.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/BrushesDemos/BrushesDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BrushesDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs b/9.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs index 1884363bc..22c9eea57 100644 --- a/9.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/ControlGallery/ControlGallery/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ControlGallery; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs index c1a4a86d7..07af05707 100644 --- a/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace VideoDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs index dfdc5e0be..df6bc3158 100644 --- a/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,8 @@ namespace CustomizeHandlersDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } + diff --git a/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs index 988516628..db4f789f1 100644 --- a/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace HyperlinkDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs index bee070207..50db4af5a 100644 --- a/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace AbsoluteLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs index eef316384..a7290d70f 100644 --- a/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace BindableLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs index 66da6e4a8..f6b720f5b 100644 --- a/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CustomLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs index b074b1dc1..d17358afb 100644 --- a/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace FlexLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs index 1c81d7e84..0f3ca3cc7 100644 --- a/9.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/GridDemos/GridDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace GridDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs index bfc5e9f9b..f488391db 100644 --- a/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace StackLayoutDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs b/9.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs index 8212224a8..540af9121 100644 --- a/9.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/ScaleAndRotate/ScaleAndRotate/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace ScaleAndRotate { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs index 48fb34315..01095f1ad 100644 --- a/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SystemThemesDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs index 7ad53bfee..6da7314b4 100644 --- a/9.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/ThemingDemo/ThemingDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ThemingDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs index e3a4f7a4d..d5f36ba49 100644 --- a/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CarouselViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs index 1bffb97e9..6c181e3e3 100644 --- a/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CheckBoxDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs index cf222a008..91baab05c 100644 --- a/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace CollectionViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs index 882a76ddf..074b87852 100644 --- a/9.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/ContentViewDemo/CardViewDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace CardViewDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs index 12046cf92..e2a128525 100644 --- a/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace GraphicsViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs index d055d8d34..f65535c91 100644 --- a/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace HybridWebViewDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs index 0d70b277a..55b9c8c91 100644 --- a/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace IndicatorViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs index ce3e64619..dce6a3c2a 100644 --- a/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ListViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs index 2446f2a29..919dbb997 100644 --- a/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/Platforms/Android/MainApplication.cs @@ -4,12 +4,8 @@ namespace WorkingWithMaps; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } + diff --git a/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs index 88a942046..97e81ae77 100644 --- a/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace RadioButtonDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs index d9aa2d6fd..97e194c3b 100644 --- a/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace RefreshViewDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs index fbc3414ec..e1512586c 100644 --- a/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ScrollViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs index f7c5043a3..6198675a4 100644 --- a/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace ShapesDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs index 4e30fd7e5..40281814c 100644 --- a/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SwipeViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs index 0071e42a6..c0211af9d 100644 --- a/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace SwitchDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/Platforms/Android/MainApplication.cs index 1925de18e..d916cb519 100644 --- a/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace TableViewDemos; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs index f9217b61c..c22aa1333 100644 --- a/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TitleBarDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs b/9.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs index 9c9be1226..cfb914b6d 100644 --- a/9.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/Views/TwoPaneView/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace MauiTwoPaneViewDemo; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs index 02de1a8f2..fd4b4a50c 100644 --- a/9.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithColors/WorkingWithColors/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithColors; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs index 0be258f73..ef75b2524 100644 --- a/9.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithFiles/WorkingWithFiles/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace WorkingWithFiles; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs index 8351e5f99..7ab97700c 100644 --- a/9.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithFonts/WorkingWithFonts/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace WorkingWithFonts { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs index 7b6092aeb..04decde38 100644 --- a/9.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/Platforms/Android/MainApplication.cs @@ -6,13 +6,8 @@ namespace DragAndDropGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs index 288cdecd7..675fa230c 100644 --- a/9.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithGestures/PanGesture/PanGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PanGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs index cc2822761..b92623baf 100644 --- a/9.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithGestures/PinchGesture/PinchGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace PinchGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs index 09ead38bf..30aeb0cba 100644 --- a/9.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithGestures/SwipeGesture/SwipeGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace SwipeGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs b/9.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs index 3a4c06fef..185a0bfd9 100644 --- a/9.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs +++ b/9.0/UserInterface/WorkingWithGestures/TapGesture/TapGesture/Platforms/Android/MainApplication.cs @@ -4,13 +4,8 @@ namespace TapGesture { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } diff --git a/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs b/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs index 0cfe2fbcd..deb817998 100644 --- a/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs +++ b/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/Platforms/Android/MainApplication.cs @@ -4,13 +4,9 @@ namespace PushNotificationsDemo { [Application] - public class MainApplication : MauiApplication + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } } + diff --git a/9.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs b/9.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs index 1aa4b5e65..08a770f9b 100644 --- a/9.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs +++ b/9.0/WebServices/TodoREST/TodoREST/Platforms/Android/MainApplication.cs @@ -4,12 +4,8 @@ namespace TodoREST; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } + diff --git a/9.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs b/9.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs index d7546a17e..5fe772567 100644 --- a/9.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs +++ b/9.0/XAML/Fundamentals/XamlSamples/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace XamlSamples; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/9.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs b/9.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs index 87676b710..6d83f6822 100644 --- a/9.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs +++ b/9.0/XAML/MarkupExtensions/MarkupExtensions/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace MarkupExtensions; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/Upgrading/CustomRenderer/MauiCustomRenderer/Platforms/Android/MainApplication.cs b/Upgrading/CustomRenderer/MauiCustomRenderer/Platforms/Android/MainApplication.cs index 6d54b1504..23bd1530c 100644 --- a/Upgrading/CustomRenderer/MauiCustomRenderer/Platforms/Android/MainApplication.cs +++ b/Upgrading/CustomRenderer/MauiCustomRenderer/Platforms/Android/MainApplication.cs @@ -4,12 +4,7 @@ namespace MauiCustomRenderer; [Application] -public class MainApplication : MauiApplication +public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } diff --git a/Upgrading/CustomRenderer/MultiProject/Entry/Android/MainApplication.cs b/Upgrading/CustomRenderer/MultiProject/Entry/Android/MainApplication.cs index 1173ec6f2..79baff96a 100644 --- a/Upgrading/CustomRenderer/MultiProject/Entry/Android/MainApplication.cs +++ b/Upgrading/CustomRenderer/MultiProject/Entry/Android/MainApplication.cs @@ -7,13 +7,8 @@ namespace CustomRenderer.Android { [Application] - public class MainApplication : MauiApplication - { - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - + public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) + { protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } }