Skip to content

Instantly share code, notes, and snippets.

@maxost
Created September 5, 2017 02:04
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 maxost/5467a4011a239570386719261cc3e6b9 to your computer and use it in GitHub Desktop.
Save maxost/5467a4011a239570386719261cc3e6b9 to your computer and use it in GitHub Desktop.
Kotlin: string to editable
fun String.toEditable(): Editable = Editable.Factory.getInstance().newEditable(this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment