He broke up with me, what now?

So about a month or so ago my bf of about 7 months broke up with me. In all honesty I wasn’t as happy in the relationship as I thought I could have been, I was trying to work through some trust issues and getting over some problems I have with emotional intimacy. He broke up with me pretty much completely out of the blue, saying that he didn’t think we were bonding on the level we should be at the stage we were at. When I told him that it was also bothering me and that having these more emotional conversations is what we needed to get past this and that I thought we could work on it, he agreed for the most part but stood his ground on breaking up. He asked if we could still be friends and I said I couldn’t answer that at the time. Anyway it’s about a month later and we still follow eachother on ig and go to the same university (which is not very big). I dont know what to do because I feel like the only way to get through my issues is to be in a relationship. I think i just might be caught up on the fact that he genuinely seemed to agree with me when i said we could work on it but he still didn’t want to try? I was wondering if anyone had advice on how to really move on. Some days I feel like i’m over him and some days i just want to cry. I tried talking to my friends about it but they just want to bash him and I can’t listen to that.