Skip to content

Instantly share code, notes, and snippets.

@tfcporciuncula
Last active March 7, 2023 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfcporciuncula/c70326c27ba698298eb7d472c2803e7b to your computer and use it in GitHub Desktop.
Save tfcporciuncula/c70326c27ba698298eb7d472c2803e7b to your computer and use it in GitHub Desktop.
@Singleton
class PlatformGreeter @Inject constructor(
@ApplicationContext private val context: Context
) {
fun greet(finalGreeting: String) {
Toast.makeText(context, finalGreeting, Toast.LENGTH_SHORT).show()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment