Custom.MAUI.AnimatedLoaders
1.0.0
As a result of the framework update, this package will be discontinued.
See the version list below for details.
dotnet add package Custom.MAUI.AnimatedLoaders --version 1.0.0
NuGet\Install-Package Custom.MAUI.AnimatedLoaders -Version 1.0.0
<PackageReference Include="Custom.MAUI.AnimatedLoaders" Version="1.0.0" />
paket add Custom.MAUI.AnimatedLoaders --version 1.0.0
#r "nuget: Custom.MAUI.AnimatedLoaders, 1.0.0"
// Install Custom.MAUI.AnimatedLoaders as a Cake Addin #addin nuget:?package=Custom.MAUI.AnimatedLoaders&version=1.0.0 // Install Custom.MAUI.AnimatedLoaders as a Cake Tool #tool nuget:?package=Custom.MAUI.AnimatedLoaders&version=1.0.0
===>COMPLETE TUTORIAL PATH :"https://www.youtube.com/watch?v=WLsubl_L9Jk"
===>MAUI LOADER INITIAL SETUP
MAUILoaderRegisterationSetup.SetConfigurationForXamarinCustomLoader(mauiWaitLoaderColor: Color.FromArgb("#FFFFFF"), loaderTextColor: Color.FromArgb("#FFFFFF"), loaderHeightRequest: 250.0, loaderWidthRequest: 250.0, loaderFontSize: 16.0);
===>DEPENDECNY INJECTION SERVICE using CommunityToolkit.Maui; using MAUI.Custom.LoaderEase.AppPresentations.CommonSource; using MAUI.Custom.LoaderEase.AppPresentations.Services; using MAUI.Custom.LoaderEase.Interfaces;
namespace MauiLoaderTesting { public static class MauiProgram { public static MauiApp CreateMauiApp() { try { var builder = MauiApp.CreateBuilder(); builder.UseMauiApp().ConfigureFonts(fonts ⇒ { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); }); RegisterEssentials(builder.Services); RegisterPages(builder.Services); RegisterViewModels(builder.Services); builder.UseMauiCommunityToolkit();//Registering for MAUI loader var app = builder.Build(); MauiServiceHandler.MauiAppBuilder = app; return app; } catch (Exception ex) { return null; } } static void RegisterPages(in IServiceCollection services) { services.AddTransient(); } static void RegisterViewModels(in IServiceCollection services) { services.AddTransient(); } static void RegisterEssentials(in IServiceCollection services) { //LOADER SERVICE HANDLER services.AddSingleton<ICustomLoaderHandlerService, CustomLoaderHandlerService>(); } } }
====>MVVM CONSUMING PROCESS
using MAUI.Custom.LoaderEase.Interfaces; using MAUI.Custom.LoaderEase.Utility;
namespace MauiLoaderTesting { public class MainPageViewModel { ICustomLoaderHandlerService loaderHandler = null;
[Obsolete]
public MainPageViewModel(ICustomLoaderHandlerService loaderHandler)
{
this.loaderHandler = loaderHandler;
ShowWaitWindow();
CloseLoader();
}
private void ShowWaitWindow()
{
if (loaderHandler != null)
loaderHandler.ShowCustomLoader(message: "Processing", loaderType: LoaderType.SonicSyncLoader);
//LoaderHandler.ShowCustomLoader(message: "Searching", loaderType: LoaderType.QuantumQuikLoader);
}
[Obsolete]
private void CloseLoader()
{
Device.StartTimer(TimeSpan.FromSeconds(10), () =>
{
loaderHandler.HideCustomLoader();
//LoaderHandler.HideCustomLoader();
return false;
});
}
} }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-android31.0 is compatible. net6.0-ios was computed. net6.0-ios16.1 is compatible. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- CommunityToolkit.Maui (>= 2.0.0)
-
net6.0-android31.0
- CommunityToolkit.Maui (>= 2.0.0)
-
net6.0-ios16.1
- CommunityToolkit.Maui (>= 2.0.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Various Varieties of Custom Loaders in MAUI Suitable for Diverse Application Scenarios.