Warning! Spoiler alert for “Insecure,” Season 2.

At the beginning of the Season 2 premiere of HBO’s “Insecure,” we learn that Lawrence (Jay Ellis) had broken up with his live-in girlfriend, Issa Dee (Issa Rae).

To celebrate his new bachelor status, Lawrence spends his weekends with his rebound fling Tasha (Dominique Perry) at her apartment. For the rest of the week, he crashes on an air mattress in his friend Chad’s (Neil Brown Jr.) living room until he finds a new apartment.

Chad, assessing his friend’s situation, says: “Roll in on Fridays, smash all weekend, bounce out on Sunday. It’s low-maintenance, efficient, all upside.”

And savvy viewers came up with a diagnosis for Lawrence’s predicament.

“Lawrence is a hobosexual,” one Twitter user succinctly explained. “He slanging d - - k for a place to stay.”

‘Roll in on Fridays, smash all weekend, bounce out on Sunday. It’s low-maintenance, efficient, all upside’ - Chad, on 'Insecure'

He’s hardly the first to try it. The “hobosexual” dates back to at least June 2016, when The Post reported on a homeless man who uses Tinder to find a companion and bed for the night.

“If I get in a fight with the woman I’m staying with today, I’d probably be back out on the streets,” Adam Kaufman, a 45-year-old artist, told The Post.

Then, there’s the hobosexual’s equally conniving cousin: the taskmaster. These folks use dating apps to con hopeful matches into doing their chores.

In July 2016, publicist Fiona Bloom told The Post that she has convinced the men she’s met on apps to tackle a range of chores — for instance, installing her air conditioner or chauffeuring her to the Hamptons.

“Men are hard-wired to feel strong and be a provider,” Fiona said. “I don’t feel guilty using them for a little help.”

Then, there’s the antithesis of the hobosexual: divorced roomies. These are the unfortunate souls stuck living together after their separations are finalized, thanks to New York’s competitive real estate market.

In 2014, real estate broker Carol E. Levy had to share her 5,000-square-foot mansion with her ex-husband Chris Lipman until their marital home sold.

“He is like a squatter here, and I am the ultimate doer,” Levy said of her ex. “He is an unwanted guest, and once the apartment sells, it’s all over.”