
fun Context.shareText(message: String) { val intent = Intent(Intent.ACTION_SEND) intent.type = "text/plain" intent.putExtra(Intent.EXTRA_TEXT, message) ContextCompat.startActivity( this, Intent.createChooser( ...
Kotlin Fan
I am Android Developer from India. Always Loved to program high-quality apps to make human life easy. you can always find me on GitHub.
Markdown supported · ⌘↵ to post
No responses yet.