Xam.Plugin.SimpleAppIntro 1.0.26

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xam.Plugin.SimpleAppIntro --version 1.0.26                
NuGet\Install-Package Xam.Plugin.SimpleAppIntro -Version 1.0.26                
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="Xam.Plugin.SimpleAppIntro" Version="1.0.26" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xam.Plugin.SimpleAppIntro --version 1.0.26                
#r "nuget: Xam.Plugin.SimpleAppIntro, 1.0.26"                
#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 Xam.Plugin.SimpleAppIntro as a Cake Addin
#addin nuget:?package=Xam.Plugin.SimpleAppIntro&version=1.0.26

// Install Xam.Plugin.SimpleAppIntro as a Cake Tool
#tool nuget:?package=Xam.Plugin.SimpleAppIntro&version=1.0.26                

nuget Nuget

Icon

Xam.Plugin.SimpleAppIntro

Just a nice and simple AppIntro for your Xamarin Forms project

Setup

!!Install into your .net standaard project. !!

Example

simpleappintro

Usage

You can now create new simple sliders and add them to a SimpleAppIntro page. We support 4 types of slides at this moment, Slide/ButtonSlide/SwitchSlide/CheckboxSlide


 var welcomePage = new SimpleAppIntro(new List<object>() {
            new Slide(new SlideConfig("Welcome", "This is a sample app showing off the new App Intro", "cup_icon.png",
            null, "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16)),

            new ButtonSlide(new ButtonSlideConfig("Slides", "You can add slides and have a clean app intro", "cup_icon.png",
            null, "Click here", null,"#FFFFFF", new Command(() => OnButtonClicked()), "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16)),

            new SwitchSlide(new SwitchSlideConfig("Other", "Tell your user what they can do with your app",  "cup_icon.png",
            null, true, new Command<bool>((value) => OnSwitchClicked(value)), "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16)),

            new SwitchSlide(new SwitchSlideConfig("Other", "Tell your user what they can do with your app",  "cup_icon.png",
            null, true, new Command<bool>((value) => OnSwitchClicked(value)), "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16)),
	    
	    new CheckboxSlide(new CheckboxSlideConfig("Checkbox", "Let your user set specific settings via a AppIntro screen.",  	     "cup_icon.png",
            null, true, new Command<bool>((value) => OnCheckboxClicked(value)), "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16)),
      });

MainPage.Navigation.PushModalAsync(welcomePage);

Animated

You can also specify your own Lottie animated icon for each slide. Just create an AnimatedSimpleAppIntro like: We support 4 types of slides at this moment, Slide/ButtonSlide/SwitchSlide/CheckboxSlide (same usage as above)


var welcomePage = new AnimatedSimpleAppIntro(new List<object>() {
            new Slide(new SlideConfig("Welcome", "This is a sample app showing off the new App Intro", "world.json",
            null, "#FFFFFF", "#FFFFFF",
            FontAttributes.Bold, FontAttributes.Italic, 24, 16))
	    

Properties

You can set the next properties


welcomePage.DoneText = "Finish";
welcomePage.SkipText = "Skip";
welcomePage.NextText = "Next";

welcomePage.ShowPositionIndicator = true;
welcomePage.ShowSkipButton = true;
welcomePage.ShowNextButton = true;

// Vibrate
// NOTE: you will probably need to ask VIBRATE permission in Manifest.
welcomePage.Vibrate = true;
welcomePage.VibrateDuration = 0.2;

Theming

You can set the next colors


welcomePage.BarColor = "#607D8B";
welcomePage.SkipButtonBackgroundColor = "#FF9700";
welcomePage.DoneButtonBackgroundColor = "#8AC149";
welcomePage.NextButtonBackgroundColor = "#8AC149";

welcomePage.SkipButtonTextColor = "#FFFFFF";
welcomePage.NextButtonTextColor = "#FFFFFF";
welcomePage.DoneButtonTextColor = "#FFFFFF";

And you can also specify an image instead of the default skip/done/next buttons:


welcomePage.DoneButtonImage = "baseline_done_white_24.png";

Callbacks

You can use the next callback methods to get more info on the events


      welcomePage.OnSkipButtonClicked = OnSkipButtonClicked;
      welcomePage.OnDoneButtonClicked = OnDoneButtonClicked;
      welcomePage.OnPositionChanged = OnPositionChanged;
	  
      /// <summary>
      /// On skip button clicked
      /// </summary>
      private void OnSkipButtonClicked()
      {
         DisplayAlert("Result", "Skip", "OK");
      }

      /// <summary>
      /// On done button clicked
      /// </summary>
      private void OnDoneButtonClicked()
      {
         DisplayAlert("Result", "Done", "OK");
      }

	  /// <summary>
      /// On slide position changed event
      /// </summary>
      private void OnPositionChanged(int page)
      {
         Console.Write($"Slide changed to page {page}");
      }

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.35 778 1/25/2022
1.0.30 874 1/6/2021
1.0.29 771 7/6/2020
1.0.29-CI00004 337 7/6/2020
1.0.29-CI00003 339 7/6/2020
1.0.29-CI00002 336 7/3/2020
1.0.28 499 7/3/2020
1.0.27 536 6/30/2020
1.0.26 1,015 2/28/2020
1.0.25-CI00001 435 1/2/2020
1.0.24 6,423 10/30/2019
1.0.23 606 10/8/2019
1.0.22 617 9/16/2019
1.0.21 548 9/11/2019
1.0.20 529 9/10/2019
1.0.20-CI00002 468 6/18/2019
1.0.19 877 6/17/2019
1.0.18 1,388 2/4/2019
1.0.17 955 11/5/2018
1.0.16 851 9/21/2018
1.0.15 776 9/21/2018
1.0.14 780 9/19/2018
1.0.13 787 9/12/2018
1.0.12 824 9/7/2018
1.0.11 2,444 9/6/2018
1.0.10 839 9/6/2018
1.0.10-CI00002 653 8/22/2018
1.0.10-CI00000 636 8/22/2018
1.0.9 798 8/21/2018
1.0.9-CI00012 694 8/20/2018
1.0.9-CI00008 661 8/15/2018
1.0.9-CI00007 699 8/15/2018
1.0.9-CI00005 666 8/15/2018
1.0.8 839 8/15/2018
1.0.7 836 8/14/2018
1.0.7-CI00002 672 8/15/2018
1.0.6 833 8/13/2018
1.0.5 828 8/13/2018
1.0.4 823 8/13/2018
1.0.4-CI00005 663 8/13/2018
1.0.4-CI00003 732 8/8/2018
1.0.4-CI00000 719 8/8/2018
1.0.3 901 8/6/2018
1.0.2 1,024 7/15/2018
1.0.1 1,034 6/26/2018
1.0.0 1,014 6/25/2018
1.0.0-CI00011 853 6/25/2018
1.0.0-CI00010 866 6/25/2018
1.0.0-CI00008 862 6/25/2018
1.0.0-CI00006 869 6/25/2018
1.0.0-CI00004 857 6/25/2018

- Update Xamarin.Forms 4.5.0
- Update Sample to AndroidX