I hereby claim:
- I am bvantur on github.
- I am bvantur (https://keybase.io/bvantur) on keybase.
- I have a public key ASBpnfgFZ4MAn8JQ967uTqQ4DBpMYi-4EYz-5eI0Hv5iFgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
object ToastUtils { | |
fun showRegular(activity: Activity, textMessage: String) { | |
show(activity, textMessage) | |
} | |
fun showSuccess(activity: Activity, textMessage: String) { | |
show(activity, textMessage, Color.GREEN) | |
} | |
fun showError(activity: Activity, textMessage: String) { |
object SnackbarUtils { | |
fun showRegular(activity: Activity, textMessage: String) { | |
show(activity, textMessage) | |
} | |
fun showSuccess(activity: Activity, textMessage: String) { | |
show(activity, textMessage, Color.GREEN) | |
} | |
fun showError(activity: Activity, textMessage: String) { |
<init>( | |
message: String, | |
replaceWith: ReplaceWith = ReplaceWith(""), | |
level: DeprecationLevel = DeprecationLevel.WARNING) |
const val message = "Toast messages with custom views are not supported anymore. | |
Please use SnackbarUtils or create a regular Toast." |
private const val replaceRegular = ReplaceWith( | |
"SnackbarUtils.showRegular(activity, textMessage)", | |
"sp.bvantur.deprecatedtoast.utils") |
object ToastUtils { | |
private const val message = "Toast messages with custom views are not supported anymore. Please use SnackbarUtils or create a regular Toast." | |
private const val imports = "sp.bvantur.deprecatedtoast.utils" | |
fun showRegular(activity: Activity, textMessage: String) { | |
show(activity, textMessage) | |
} | |
@Deprecated( |