How to display integers in android studio using for loop : How can i display integers inside this loop? When i run this code it only display 1 value.

    public View.OnClickListener buttonClick = new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            
            int inputFirst = Integer.parseInt(etTxt1.getText().toString());
            int inputSec = Integer.parseInt(etTxt2.getText().toString());
            for (int i = inputFirst; i <= inputSec; i++){
                tView.setText(i); ;
            }

        }
    };