toast

fun Activity.toast(message: String, length: Int = Toast.LENGTH_SHORT): Toast

토스트 메시지를 표시합니다.

Return

표시되는 토스트 인스턴스

Parameters

message

출력할 메시지

length

토스트 길이. 기본값은 Toast.LENGTH_SHORT 입니다.