Created
February 24, 2018 14:41
-
-
Save jeevan-vj/5295db3704ec837d11fc2b92e680e691 to your computer and use it in GitHub Desktop.
ToastMessageService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[assembly: Xamarin.Forms.Dependency(typeof(ToastMessageService))] | |
namespace ToastTestXamarin.Droid | |
{ | |
public class ToastMessageService : IToastMessageService | |
{ | |
public void ShowToastMessage(string message) | |
{ | |
Toast.MakeText(Android.App.Application.Context, message, ToastLength.Long).Show(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment