Ben Affleck and Jennifer Garner finally reunited in public after weeks of not being photographed together.

On Thursday, the former couple was seen chatting casually while waiting for their son, Samuel, to finish his swimming lessons in Los Angeles. In the photo, the “Batman v Superman” star is wearing a grey shirt and jeans.

Garner, on the other hand, is also wearing a grey shirt and pants. After their son’s swimming lessons, Samuel is also photographed while wrapped in a huge emoji beach towel.

Another photo shows Garner grinning from ear to ear while talking to her ex-husband. Affleck also has a faint smile on his face while listening to his ex-wife’s story.

The former couple has been co-parenting their kids for the past four years ever since they announced their separation. Last year, Affleck and Garner finalized their divorce.

And earlier this week, Garner was also photographed picking up her two daughters from their swimming lessons. In the snap, Garner is standing in between Violet and Seraphina, who are both wrapped in a huge beach towel.

During a previous interview on “Today,” Affleck said that he finds co-parenting with Garner very easy because they have the same goals, and they also prioritize their kids over everything else.

“I hope I’m a pretty good dad… Dads are so important to kids, and it’s our responsibility to be there for them, to be present, to be mindful, to be attentive, to be part of their lives, to be as in it as moms,” he said.

Affleck also said that being a dad and being there for his children is the central preoccupation of his life. “The focus of my life, and it’s what I love doing. It’s what makes me happy, and the rest of the stuff kind of follows,” he said.

Garner also said that she’s having an easy time co-parenting with Affleck since they are amicable towards each other.

Jennifer Garner and Ben Affleck
Pictured: Actress Jennifer Garner and actor-director Ben Affleck arrive at the Oscars at Hollywood & Highland Center on February 24, 2013 in Hollywood, California. Getty Images/Jason Merritt