I need build in Toast message from Xamarin.Forms. I don't want to use 3rd party packages.
Why you don't make your own implementation using the built-in Dependency Service?, its quite easy.
@Sergiojoel9877 Can you point to any resource for a guidance to implement this functionality.
@HobDev @arvindrajachourasiya There are quite some tutorials on this topic, for example:
https://www.c-sharpcorner.com/article/xamarin/
This article demonstrates how to make Toast Message or local message using Dependency Service in Xamarin.Forms applications.
It will be great to have it from Xamarin Forms like this:
<Toast
Width=""
Height=""
Animation="{Fade, SlideFromTop, SlideFromBottom, Zoom}"
DisappearAfter="{Time-In-Seconds, Otherwise will not disappear until click}"
BackGroundColor="Yellow"
TextColor="Black"
CornerRadius="25"
Position="{Top, Bottom}"
/>
that's what I can think of now before sleeping :)
Maybe even add Action options.. so you can have a button on the toast/snackbar with an action command like this;
This is being worked on https://github.com/xamarin/XamarinCommunityToolkit as the SnackBar control
Most helpful comment
Maybe even add Action options.. so you can have a button on the toast/snackbar with an action command like this;