It's very difficult to be friends with an ex, especially so soon after a breakup. Until your feelings are not as intense and more under control (meaning, what he does/says doesn't affect you, you care less and think of him JUST as a friend, nothing more, nothing less) then it's OK.
In all honesty, I don't see the point in relying on him. If the relationship is over, keeping the friendship alive is going to hurt, maybe even getting your hopes up that you two will get back together.
Good luck and keep busy. Talk to your women friends and any family you're close with.