Skip to content

Consuming the API

Ice Jovanoski edited this page May 22, 2018 · 1 revision

At the moment there are two different approaches for displaying Snackbar messages.

  • You can call Plugin.XSnack.CrossXSnack.Current.ShowMessage();
  • Or you can register IXSnack interface with the XSnack implementation for DI and consume it through the interface methods.
Clone this wiki locally