RSRaju Shingadiyainkotlinfan.hashnode.dev·9h ago · 4 min readThe End of the "Write It Twice" Era: Demystifying Kotlin Multiplatform ArchitectureLet’s be honest: for the last decade, mobile development has felt like a mild form of madness. You sit down with your team, design a brilliant architecture, write the network calls, the caching logic,00
RSRaju Shingadiyainkotlinfan.hashnode.dev·Dec 23, 2022 · 1 min readOpen the link or Url in default browser - Android kotlinfun Context.openLink(link: String) { var url = link if (!url.startsWith("http://") && !url.startsWith("https://")) { url = "http://" + url } val browserIntent = Intent(Intent.ACTION_VIEW, Uri.parse(url)) startActivity(brow...00
RSRaju Shingadiyainkotlinfan.hashnode.dev·Dec 23, 2022 · 1 min readShare Text or Link in Share via Androidfun 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( ...00