Skip to content

Commit

Permalink
[feat] : #8 Toast 확장 함수 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
1971123-seongmin committed Nov 6, 2024
1 parent fe734bc commit 70e1ae5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/main/java/org/sopt/and/utils/showToastMsg.kt
Original file line number Diff line number Diff line change
@@ -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()
}

0 comments on commit 70e1ae5

Please sign in to comment.