-
public class TipsToastAuthor: liecoder Date: 2024/8/13 周二 Version: 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>Successprivate final <ERROR CLASS>Errorsprivate final <ERROR CLASS>Warningsprivate final <ERROR CLASS>Infosprivate ITipsToastServicemCurrentToastpublic final static TipsToastINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitinit(Application context)final static <ERROR CLASS>success(CharSequence message)final static <ERROR CLASS>error(CharSequence message)final static <ERROR CLASS>warning(CharSequence message)final static <ERROR CLASS>info(CharSequence message)final static Unitcustom(CharSequence message, Drawable successIcon, Drawable errorIcon, Drawable warningIcon, Integer gravity, Integer xOffset, Integer yOffset, Integer duration, ToastStyle style)final <ERROR CLASS>getSuccess()final <ERROR CLASS>getErrors()final <ERROR CLASS>getWarnings()final <ERROR CLASS>getInfos()final ITipsToastServicegetMCurrentToast()final UnitsetMCurrentToast(ITipsToastService mCurrentToast)-
-
Method Detail
-
success
final static <ERROR CLASS> success(CharSequence message)
-
error
final static <ERROR CLASS> error(CharSequence message)
-
warning
final static <ERROR CLASS> warning(CharSequence message)
-
info
final static <ERROR CLASS> info(CharSequence message)
-
custom
final static Unit custom(CharSequence message, Drawable successIcon, Drawable errorIcon, Drawable warningIcon, Integer gravity, Integer xOffset, Integer yOffset, Integer duration, ToastStyle style)
-
getSuccess
final <ERROR CLASS> getSuccess()
-
getErrors
final <ERROR CLASS> getErrors()
-
getWarnings
final <ERROR CLASS> getWarnings()
-
getInfos
final <ERROR CLASS> getInfos()
-
getMCurrentToast
final ITipsToastService getMCurrentToast()
-
setMCurrentToast
final Unit setMCurrentToast(ITipsToastService mCurrentToast)
-
-
-
-