Custom.MAUI.AnimatedLoaders 1.0.0

Additional Details

As a result of the framework update, this package will be discontinued.

There is a newer version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Custom.MAUI.AnimatedLoaders" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Custom.MAUI.AnimatedLoaders --version 1.0.0
#r "nuget: Custom.MAUI.AnimatedLoaders, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 135 2/23/2024
1.0.0 251 11/5/2023

Various Varieties of Custom Loaders in MAUI Suitable for Diverse Application Scenarios.