<setText of the TextInputEditText does not change ...
# stackoverflow
u
setText of the TextInputEditText does not change - Kotlin Hey fello developers 🖐️ I've been trying to change the text value of the TextInputEditText programatically to save the activity state on orientation as it gets lost, but the setText(text: CharSequence!) doesn't work even when passing explicit String as its arguments. Here's a snippet of the code of the activity in activity_main.xml And here's the Kotlin code in MainActivity.kt lateinit var uriTxt: TextInputEditText override fun onCreate(savedInstanceState: Bundle?) {...