I would say it depends on the ex.It is possible to be friendly in public
but not a close friend in private. You can afford to not hate them but
not be the best of friends anymore.(if that makes any sense)