Toast¶
Show a toast by just calling toast(yourText)
, and dodge API 25
BadTokenException
.
Supported platforms: Android.
To create and show a
Toast
,
just call toast(…)
(for breakfast) or longToast(…)
(if you're very hungry) with
either a string resource id or a CharSequence
.
Setup¶
If you want to use this dependency without using one of the fun packs,
you can use Splitties.toast
, provided you have refreshVersions added to the project.
For reference, the maven coordinates of this module are com.louiscad.splitties:splitties-toast
.