Created
April 5, 2023 09:05
-
-
Save akshaykalola28/460f1ddaa295d1908e0109d10d85706f to your computer and use it in GitHub Desktop.
Convert string to editable using extension in android
This file contains 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
import android.text.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