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 748 1/25/2022
1.0.30 858 1/6/2021
1.0.29 741 7/6/2020
1.0.29-CI00004 312 7/6/2020
1.0.29-CI00003 315 7/6/2020
1.0.29-CI00002 308 7/3/2020
1.0.28 469 7/3/2020
1.0.27 501 6/30/2020
1.0.26 991 2/28/2020
1.0.25-CI00001 408 1/2/2020
1.0.24 6,396 10/30/2019
1.0.23 579 10/8/2019
1.0.22 591 9/16/2019
1.0.21 522 9/11/2019
1.0.20 518 9/10/2019
1.0.20-CI00002 446 6/18/2019
1.0.19 841 6/17/2019
1.0.18 1,356 2/4/2019
1.0.17 925 11/5/2018
1.0.16 813 9/21/2018
1.0.15 740 9/21/2018
1.0.14 748 9/19/2018
1.0.13 762 9/12/2018
1.0.12 806 9/7/2018
1.0.11 2,404 9/6/2018
1.0.10 805 9/6/2018
1.0.10-CI00002 634 8/22/2018
1.0.10-CI00000 609 8/22/2018
1.0.9 767 8/21/2018
1.0.9-CI00012 668 8/20/2018
1.0.9-CI00008 646 8/15/2018
1.0.9-CI00007 667 8/15/2018
1.0.9-CI00005 629 8/15/2018
1.0.8 806 8/15/2018
1.0.7 819 8/14/2018
1.0.7-CI00002 642 8/15/2018
1.0.6 795 8/13/2018
1.0.5 798 8/13/2018
1.0.4 793 8/13/2018
1.0.4-CI00005 635 8/13/2018
1.0.4-CI00003 701 8/8/2018
1.0.4-CI00000 711 8/8/2018
1.0.3 870 8/6/2018
1.0.2 990 7/15/2018
1.0.1 1,018 6/26/2018
1.0.0 980 6/25/2018
1.0.0-CI00011 825 6/25/2018
1.0.0-CI00010 859 6/25/2018
1.0.0-CI00008 837 6/25/2018
1.0.0-CI00006 845 6/25/2018
1.0.0-CI00004 831 6/25/2018

- Update Xamarin.Forms 4.5.0
- Update Sample to AndroidX