using Android.App; using Android.Content.PM; using Avalonia; using Avalonia.Android; using Avalonia.ReactiveUI; using VeloeAvaloniaKemonoPartyApp.Android.Services; using VeloeAvaloniaKemonoPartyApp.Services; namespace VeloeAvaloniaKemonoPartyApp.Android { [Activity( Label = "VeloeAvaloniaKemonoPartyApp.Android", Theme = "@style/MyTheme.NoActionBar", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)] public class MainActivity : AvaloniaMainActivity { protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) { RegisteredServices.OpenUrlService = new AndroidOpenUrlService(); RegisteredServices.StorageService = new AndroidStorageService(CacheDir.AbsolutePath); return base.CustomizeAppBuilder(builder) .WithInterFont() .UseReactiveUI(); } } }