Toast PopUp For Xamarin.Forms

In this blog, we will learn how to display a Toast PopUp in Xamarin.Forms Project, such as in Android applications, with minimum code and without permissions.

Prerequisites

  • Visual Studio 2017 Xamarin

Step 1 

Create a new cross-platform project with .NET Standard project.

Xamarin

Step 2

Install "Plugin.Toast" plugin version 2.0.0 from NuGet Packages in your solution.

Xamarin

Step 3

In the MainPage.xaml.cs constructor, add the line of code below.

  1. CrossToastPopUp.Current.ShowToastMessage("Message");  

Add a message as you like.

Step 4

Run the application.

Application