Fans and friends were startled when Camila Cabello and Shawn Mendes split up last year after two years of dating.

Following their public breakup, during which they issued a joint statement, the former couple made their relationship official on social media, on the red carpet, and in their post-breakup statements.

Cabello recently spoke with Cosmopolitan and shared her experiences with handling media attention and scrutiny while going through a breakup.

The duo in their breakup statement said, "We started our relationship as best friends and will continue to be best friends."

Speaking about how she has shielded herself from criticism about her romantic life in the media, Cabello remarked, "It’s the same way I protect my emotions with everything else."

She added, "I just stay off [the internet]. I don’t look at what anyone says and wait for time to do its thing."

The singer also said that she is more interested in developing strong friendships than love relationships right now.

Not long ago, Mendes also opened up about breakups and the effect they have

He said, "You don't realize when you're breaking up with someone, you like, think it's the right thing. You don't realize all the s**t that comes after it."

In a statement, the singer said, "I need to take some time to heal and take care of myself. I'm taking a vacation from touring and want to focus on my mental health."