-
Notifications
You must be signed in to change notification settings - Fork 0
ToastUtils
Shanti Ranjan Das edited this page Jan 25, 2020
·
2 revisions
-
toastShort(@NonNull @StringRes stringIntId: Int)
Show short toast with string resource id. -
toastLong@NonNull @StringRes stringIntId: Int)
Show long toast with string resource id. -
toastShort(@NonNull charSequence: CharSequence, @NonNull gravity: Int, @NonNull xOffSet: Int = 0, @NonNull yOffSet: Int = 0)
Show short toast with string message, gravity, xOffset and YOffset. -
toastLong(@NonNull charSequence: CharSequence, @NonNull gravity: Int, @NonNull xOffSet: Int = 0, @NonNull yOffSet: Int = 0)
Show long toast with string message, gravity, xOffset and YOffset. -
toastShort(@NonNull charSequence: CharSequence)
Show short toast with string message. -
toastLong(@NonNull charSequence: CharSequence)
Show long toast with string message.