Skip to content

Commit 4b3bcd4

Browse files
committed
log build
1 parent 5e168dc commit 4b3bcd4

File tree

3 files changed

+1016
-58
lines changed

3 files changed

+1016
-58
lines changed

docs/llm/dump.txt

Lines changed: 45 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
===============================================================================
22
PROJECT EXPORT
3-
Generated: Wed Dec 24 10:16:37 PM CST 2025
3+
Generated: Wed Dec 24 10:17:39 PM CST 2025
44
Project Path: /home/kushal/src/dotnet/MyDesktopApplication
55
===============================================================================
66

@@ -5082,8 +5082,8 @@ MODIFIED: 2025-12-24 22:10:48
50825082

50835083
================================================================================
50845084
FILE: src/MyDesktopApplication.Android/App.axaml.cs
5085-
SIZE: 2.10 KB
5086-
MODIFIED: 2025-12-24 22:16:37
5085+
SIZE: 1.85 KB
5086+
MODIFIED: 2025-12-24 22:17:39
50875087
================================================================================
50885088

50895089
using Avalonia;
@@ -5149,70 +5149,62 @@ public partial class App : Application
51495149
System.Diagnostics.Debug.WriteLine($"Error initializing ViewModel: {ex.Message}");
51505150
}
51515151
}
5152-
5153-
public App(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer) : base(javaReference, transfer)
5154-
{
5155-
}
5156-
5157-
public App(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer) : base(javaReference, transfer)
5158-
{
5159-
}
51605152
}
51615153

51625154

51635155
================================================================================
51645156
FILE: src/MyDesktopApplication.Android/App.cs
5165-
SIZE: 1.51 KB
5166-
MODIFIED: 2025-12-24 22:15:06
5157+
SIZE: 1.39 KB
5158+
MODIFIED: 2025-12-24 22:17:18
51675159
================================================================================
51685160

5169-
// using Avalonia;
5170-
// using Avalonia.Controls.ApplicationLifetimes;
5171-
// using Avalonia.Markup.Xaml;
5172-
// using Microsoft.Extensions.DependencyInjection;
5173-
// using MyDesktopApplication.Android.Views;
5174-
// using MyDesktopApplication.Core.Interfaces;
5175-
// using MyDesktopApplication.Infrastructure;
5176-
// using MyDesktopApplication.Shared.ViewModels;
5161+
using Avalonia;
5162+
using Avalonia.Controls.ApplicationLifetimes;
5163+
using Avalonia.Markup.Xaml;
5164+
using Microsoft.Extensions.DependencyInjection;
5165+
using MyDesktopApplication.Android.Views;
5166+
using MyDesktopApplication.Core.Interfaces;
5167+
using MyDesktopApplication.Infrastructure;
5168+
using MyDesktopApplication.Shared.ViewModels;
51775169

5178-
// namespace MyDesktopApplication.Android;
5170+
namespace MyDesktopApplication.Android;
51795171

5180-
// public partial class App : Avalonia.Application
5181-
// {
5182-
// private IServiceProvider? _services;
5172+
public class App : Avalonia.Application
5173+
{
5174+
private IServiceProvider? _services;
51835175

5184-
// // public override void Initialize()
5185-
// // {
5186-
// // AvaloniaXamlLoader.Load(this);
5187-
// // }
5176+
public override void Initialize()
5177+
{
5178+
AvaloniaXamlLoader.Load(this);
5179+
}
51885180

5189-
// public override async void OnFrameworkInitializationCompleted()
5190-
// {
5191-
// var services = new ServiceCollection();
5181+
public override async void OnFrameworkInitializationCompleted()
5182+
{
5183+
var services = new ServiceCollection();
51925184

5193-
// var dbPath = Path.Combine(
5194-
// Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
5195-
// "countryquiz.db");
5185+
var dbPath = Path.Combine(
5186+
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
5187+
"countryquiz.db");
51965188

5197-
// services.AddInfrastructure(dbPath);
5198-
// services.AddTransient<CountryQuizViewModel>();
5189+
services.AddInfrastructure(dbPath);
5190+
services.AddTransient<CountryQuizViewModel>();
51995191

5200-
// _services = services.BuildServiceProvider();
5192+
_services = services.BuildServiceProvider();
52015193

5202-
// await DependencyInjection.InitializeDatabaseAsync(_services);
5194+
await DependencyInjection.InitializeDatabaseAsync(_services);
52035195

5204-
// if (ApplicationLifetime is ISingleViewApplicationLifetime singleViewLifetime)
5205-
// {
5206-
// var vm = _services.GetRequiredService<CountryQuizViewModel>();
5207-
// var mainView = new MainView { DataContext = vm };
5208-
// singleViewLifetime.MainView = mainView;
5196+
if (ApplicationLifetime is ISingleViewApplicationLifetime singleViewLifetime)
5197+
{
5198+
var vm = _services.GetRequiredService<CountryQuizViewModel>();
5199+
var mainView = new MainView { DataContext = vm };
5200+
singleViewLifetime.MainView = mainView;
52095201

5210-
// _ = vm.InitializeAsync();
5211-
// }
5202+
_ = vm.InitializeAsync();
5203+
}
52125204

5213-
// base.OnFrameworkInitializationCompleted();
5214-
// }
5215-
// }
5205+
base.OnFrameworkInitializationCompleted();
5206+
}
5207+
}
52165208

52175209

52185210
================================================================================
@@ -5296,10 +5288,11 @@ public class AnswerStateToForegroundConverter : IMultiValueConverter
52965288

52975289
================================================================================
52985290
FILE: src/MyDesktopApplication.Android/MainActivity.cs
5299-
SIZE: .58 KB
5300-
MODIFIED: 2025-12-24 22:16:17
5291+
SIZE: .60 KB
5292+
MODIFIED: 2025-12-24 22:17:18
53015293
================================================================================
53025294

5295+
using Android.App;
53035296
using Android.Content.PM;
53045297
using Avalonia;
53055298
using Avalonia.Android;
@@ -8569,7 +8562,7 @@ MODIFIED: 2025-12-21 17:58:28
85698562

85708563

85718564
===============================================================================
8572-
EXPORT COMPLETED: Wed Dec 24 10:16:38 PM CST 2025
8565+
EXPORT COMPLETED: Wed Dec 24 10:17:40 PM CST 2025
85738566
Total Files Found: 71
85748567
Files Exported: 71
85758568
Files Skipped: 0 (binary or large files)

0 commit comments

Comments
 (0)