Xam.Plugin.SimpleAppIntro
1.0.26
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
<PackageReference Include="Xam.Plugin.SimpleAppIntro" Version="1.0.26" />
<PackageVersion Include="Xam.Plugin.SimpleAppIntro" Version="1.0.26" />
<PackageReference Include="Xam.Plugin.SimpleAppIntro" />
paket add Xam.Plugin.SimpleAppIntro --version 1.0.26
#r "nuget: Xam.Plugin.SimpleAppIntro, 1.0.26"
#:package Xam.Plugin.SimpleAppIntro@1.0.26
#addin nuget:?package=Xam.Plugin.SimpleAppIntro&version=1.0.26
#tool nuget:?package=Xam.Plugin.SimpleAppIntro&version=1.0.26
Xam.Plugin.SimpleAppIntro
Just a nice and simple AppIntro for your Xamarin Forms project
Setup
- Available on Nuget: https://www.nuget.org/packages/Xam.Plugin.SimpleAppIntro
!!Install into your .net standaard project. !!
Example
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 | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
.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. |
-
.NETStandard 2.0
- CardsView (>= 2.4.6)
- Com.Airbnb.Xamarin.Forms.Lottie (>= 2.6.3)
- Xamarin.Essentials (>= 1.5.0)
- Xamarin.Forms (>= 4.5.0.356)
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 | 894 | 1/25/2022 |
1.0.30 | 969 | 1/6/2021 |
1.0.29 | 871 | 7/6/2020 |
1.0.29-CI00004 | 424 | 7/6/2020 |
1.0.29-CI00003 | 430 | 7/6/2020 |
1.0.29-CI00002 | 426 | 7/3/2020 |
1.0.28 | 595 | 7/3/2020 |
1.0.27 | 634 | 6/30/2020 |
1.0.26 | 1,123 | 2/28/2020 |
1.0.25-CI00001 | 531 | 1/2/2020 |
1.0.24 | 6,560 | 10/30/2019 |
1.0.23 | 713 | 10/8/2019 |
1.0.22 | 727 | 9/16/2019 |
1.0.21 | 657 | 9/11/2019 |
1.0.20 | 633 | 9/10/2019 |
1.0.20-CI00002 | 572 | 6/18/2019 |
1.0.19 | 985 | 6/17/2019 |
1.0.18 | 1,501 | 2/4/2019 |
1.0.17 | 1,086 | 11/5/2018 |
1.0.16 | 991 | 9/21/2018 |
1.0.15 | 913 | 9/21/2018 |
1.0.14 | 921 | 9/19/2018 |
1.0.13 | 921 | 9/12/2018 |
1.0.12 | 963 | 9/7/2018 |
1.0.11 | 2,626 | 9/6/2018 |
1.0.10 | 978 | 9/6/2018 |
1.0.10-CI00002 | 784 | 8/22/2018 |
1.0.10-CI00000 | 762 | 8/22/2018 |
1.0.9 | 947 | 8/21/2018 |
1.0.9-CI00012 | 823 | 8/20/2018 |
1.0.9-CI00008 | 790 | 8/15/2018 |
1.0.9-CI00007 | 830 | 8/15/2018 |
1.0.9-CI00005 | 802 | 8/15/2018 |
1.0.8 | 983 | 8/15/2018 |
1.0.7 | 974 | 8/14/2018 |
1.0.7-CI00002 | 802 | 8/15/2018 |
1.0.6 | 972 | 8/13/2018 |
1.0.5 | 968 | 8/13/2018 |
1.0.4 | 964 | 8/13/2018 |
1.0.4-CI00005 | 792 | 8/13/2018 |
1.0.4-CI00003 | 937 | 8/8/2018 |
1.0.4-CI00000 | 927 | 8/8/2018 |
1.0.3 | 1,126 | 8/6/2018 |
1.0.2 | 1,353 | 7/15/2018 |
1.0.1 | 1,363 | 6/26/2018 |
1.0.0 | 1,339 | 6/25/2018 |
1.0.0-CI00011 | 1,161 | 6/25/2018 |
1.0.0-CI00010 | 1,177 | 6/25/2018 |
1.0.0-CI00008 | 1,176 | 6/25/2018 |
1.0.0-CI00006 | 1,179 | 6/25/2018 |
1.0.0-CI00004 | 1,175 | 6/25/2018 |
- Update Xamarin.Forms 4.5.0
- Update Sample to AndroidX