diff --git a/app/src/main/java/org/sopt/and/utils/showToastMsg.kt b/app/src/main/java/org/sopt/and/utils/showToastMsg.kt new file mode 100644 index 0000000..4ea132a --- /dev/null +++ b/app/src/main/java/org/sopt/and/utils/showToastMsg.kt @@ -0,0 +1,8 @@ +package org.sopt.and.utils + +import android.content.Context +import android.widget.Toast + +fun Context.showToastMsg(message: String, duration: Int = Toast.LENGTH_SHORT) { + Toast.makeText(this, message, duration).show() +} \ No newline at end of file