Girl likes me but hung on her ex.

So I wanted to get some advice on what I should do, according to my friends (males) they all say I should try showing her a good time, make her forget him in a way (like going out together, dinner, kinda deal)

We are both 20

The situation is this, she basically knew this guy for years before they dated and she claims she's loved him since, however they only dated for 3 months, its been almost 8 since they broke up. He claims he doesn't want to be around her cus of anger issues and me and her both feel its BS. Not only that, he's basically being an total jerk to her in that he won't return her messages or texts and only replies when she leaves a "mad" message and all she is doing is asking how his day has been, but yet he claims he still wants to be with her!? I've already told her, "it just feels like he's stringing you along"

We seem to have a good time, listening to music, hanging out at each others places. However when we get to talk, and she apologizes when this happens, she brings up her ex in some way or another. I can understand it being hard to get over someone, it took me almost a year to get over my ex.

The main issue being, I don't know if I should keep showing her a good time, having fun with her (we are friends of course) and see if things eventually lead into more between me and her, or if I should stop trying so hard right now because as she has said

"If I were to get into a relation and he somehow came back saying he wants to be together, I'm gonna ruin that relation to be with him" and even as I sit here typing this, I'm still pondering if I should still offer up the idea of dinner next week or not bother.

Sorry if there is any confusion at all.
Girl likes me but hung on her ex.
Post Opinion