I was implementing the following Java code in Android Studio:

```
private void display(int number) {
    TextView quantityTextView = (TextView) findViewById(R.id.quantity_text_view);
    quantityTextView.setText(number);
    ...
}

```

This is a part of a larger application.

As you can see, I've passed only an integer value to the `quantityTextView.setText(number)` method.

When running the app, it crashes as soon as this method is called. Can you tell me why such a thing is happening?