Skip to content

Commit

Permalink
feat/#9: Context에 showToast 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed May 24, 2024
1 parent 2844a8d commit 3d274e2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.sopt.now.test.core.util.context

import android.content.Context
import android.widget.Toast

fun Context.showToast(message: String) {
Toast.makeText(this, message, Toast.LENGTH_SHORT).show()
}

0 comments on commit 3d274e2

Please sign in to comment.