Last active
November 25, 2021 00:30
-
-
Save gabrielbmoro/e3793588ddd26d49d016aaecab37d38c to your computer and use it in GitHub Desktop.
Example - Annotated argument
This file contains hidden or 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
fun showMessage(context: Context, @StringRes val idRes: Int) { | |
Toast.makeText(context, idRes, Toast.SHORT_LENGHT).show() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment