editable to int kotlin code example Example: kotlin change editable to Int Click to copyint x = Integer.parseInt(R2.getText().toString());