Plugin.Maui.MarkdownView 0.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.Maui.MarkdownView --version 0.0.5
                    
NuGet\Install-Package Plugin.Maui.MarkdownView -Version 0.0.5
                    
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="Plugin.Maui.MarkdownView" Version="0.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.MarkdownView" Version="0.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.MarkdownView" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.Maui.MarkdownView --version 0.0.5
                    
#r "nuget: Plugin.Maui.MarkdownView, 0.0.5"
                    
#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.
#:package Plugin.Maui.MarkdownView@0.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.Maui.MarkdownView&version=0.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.MarkdownView&version=0.0.5
                    
Install as a Cake Tool

nuget.png

Plugin.Maui.MarkdownView

Plugin.Maui.MarkdownView provides the ability to do this amazing thing in your .NET MAUI application.

Install Plugin

NuGet

Available on NuGet.

Install with the dotnet CLI: dotnet add package Plugin.Maui.MarkdownView, or through the NuGet Package Manager in Visual Studio.

Supported Platforms

Platform Minimum Version Supported
iOS 11+
Android 5.0 (API 21)

API Usage

Plugin.Maui.MarkdownView provides the Feature class that has a single property Property that you can get or set.

You can either use it as a static class, e.g.: Feature.Default.Property = 1 or with dependency injection: builder.Services.AddSingleton<IFeature>(Feature.Default);

Permissions

Before you can start using Feature, you will need to request the proper permissions on each platform.

iOS

No permissions are needed for iOS.

Android

No permissions are needed for Android.

Dependency Injection

You will first need to register the Feature with the MauiAppBuilder following the same pattern that the .NET MAUI Essentials libraries follow.

builder.Services.AddSingleton(Feature.Default);

You can then enable your classes to depend on IFeature as per the following example.

public class FeatureViewModel
{
    readonly IFeature feature;

    public FeatureViewModel(IFeature feature)
    {
        this.feature = feature;
    }

    public void StartFeature()
    {
        feature.ReadingChanged += (sender, reading) =>
        {
            Console.WriteLine(reading.Thing);
        };

        feature.Start();
    }
}

Straight usage

Alternatively if you want to skip using the dependency injection approach you can use the Feature.Default property.

public class FeatureViewModel
{
    public void StartFeature()
    {
        feature.ReadingChanged += (sender, reading) =>
        {
            Console.WriteLine(feature.Thing);
        };

        Feature.Default.Start();
    }
}

Feature

Once you have created a Feature you can interact with it in the following ways:

Events
ReadingChanged

Occurs when feature reading changes.

Properties
IsSupported

Gets a value indicating whether reading the feature is supported on this device.

IsMonitoring

Gets a value indicating whether the feature is actively being monitored.

Methods
Start()

Start monitoring for changes to the feature.

Stop()

Stop monitoring for changes to the feature.

Acknowledgements

This project could not have came to be without these projects and people, thank you! ❤️

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst18.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows10.0.19041 is compatible.  net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.19041 is compatible.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
1.0.5 238 3/28/2025
1.0.4 156 3/27/2025
1.0.3 152 3/18/2025
1.0.2 130 2/13/2025
1.0.1 121 2/8/2025
1.0.0 128 2/7/2025
0.1.0 107 2/6/2025
0.0.7 119 1/30/2025
0.0.6 113 1/29/2025
0.0.5 100 1/15/2025
0.0.4 184 11/14/2024
0.0.2 121 9/27/2024