It's the same function when I jumped to the implementation of the function.
What are they different for under the hood?
To use textView.setText("str")
with TextView
is okay.
But to use editText.setText("str")
with EditText
is not okay, even if setText(...)
is the same.
In case of EditText
I have to use setText("str")
.
What's the reason for that in Kotlin?