showSuccessToast

open override fun showSuccessToast(msg: String, duration: Long = 2500)

显示成功的toast

Parameters

msg

String 消息

duration

Long 显示时长, 默认2500毫秒