There are 2 TextView: inText and outText. I write a string in inText, and it should immediately appear in outText. Sheet need to hang something?

    1 answer 1

    Of course add a listener. More specifically, inText.addTextChangedListener(TextWatcher) .

    https://developer.android.com/reference/android/text/TextWatcher.html

    In afterTextChanged() we simply do outText.setText(inText.getText().toString()) .