Jennifer Lopez has the friendliest exes!

While the singer has been happily dating boyfriend Alex Rodriguez, her two former partners, Marc Anthony and Beau “Casper” Smart, were happily together as seen in a photo shared by Smart on social media Sunday.

“If you’ve never seen his show you are really missing out. A Truly captivating performer! Thanks for taking care of my people and I @marcanthony much appreciated!” Smart captioned a selfie with Anthony from the singer’s recent American Airlines Arena concert in Miami, along with the hashtags #alllove and #respect.

This comes after the pair was spotted leaving the Los Angeles restaurant Viva Hollywood together earlier this month.

The last time Smart and Anthony were together with Lopez was back in August 2016 at her All I Have concert in Las Vegas when Anthony was still married to fourth wife Shannon de Lima.

RELATED VIDEO: Jennifer Lopez Gives Cute Shout Out to Ex-Husband Marc Anthony During Vegas Show

Lopez was married to Anthony for seven years before they separated in 2011 and finalized their divorce in 2014. Together they share nine-year-old twins Max and Emme.

Following her split from Anthony, Lopez was romantically linked to Smart, who was her backup dancer at the time. Rumors of their romance started back in 2011, but they didn’t speak openly about their relationship until July 2012. Over four years later, Lopez and Smart broke up in August 2016.

Though she’s distanced herself from Smart, Lopez has remained very friendly with Anthony, even recently teaming up with her current boyfriend A. Rod to raise over $35 million for hurricane relief through their Puerto Rico benefit concert and telethon, One Voice: Somos Live! A Concert for Disaster Relief.

“There’s just no question about it when it comes to things like this,” Lopez told PEOPLE in October about simultaneously working with her ex-husband and boyfriend. “The truth is, we are all one. We are all family.”