Skip to content

Conversation

@ssonghyun101
Copy link
Contributor

@ssonghyun101 ssonghyun101 commented Dec 24, 2021

Toast랑 Intent Util를 추가적으로 만들었습니다. 재밌네여

Copy link

@l2hyunwoo l2hyunwoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다.

Comment on lines +6 to +11
object ToastUtil {

fun Context.makeToast(message : String){
Toast.makeText(this,message,Toast.LENGTH_SHORT).show()
}
} No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
object ToastUtil {
fun Context.makeToast(message : String){
Toast.makeText(this,message,Toast.LENGTH_SHORT).show()
}
}
fun Context.makeToast(message : String){
Toast.makeText(this,message,Toast.LENGTH_SHORT).show()
}

함수만 놔두셔도 됩니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants