Created
August 29, 2023 22:10
-
-
Save waseefakhtar/0f636b91c9111b28921a018fc2d27166 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun showMaxSelectionToast( | |
numberOfDosage: String, | |
context: Context | |
) { | |
Toast.makeText( | |
context, | |
"You're selecting ${(numberOfDosage.toIntOrNull() ?: 0) + 1} time(s) of days which is more than the number of dosage.", | |
Toast.LENGTH_LONG | |
).show() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment