It has to be meaningful dialogue, something that moves the story. That doesn't mean you shouldn't have your characters not talk about any other thing that isn't connected to the main plot. You can have two characters talk about something random, to be quite honest. You just have to not go overboard with it. Frankly, I think it's weird when I read a book and all the characters ever talk about is something to do with the plot, especially when they're YA characters. They don't discuss any other thing. They don't talk about their hair, or that party, or something that young adults would normally talk about, and I think that's weird. Of course, it won't be weird if your characters exist in a world that doesn't really allow for talking about frivolous things, like The Hunger Games: I don't remember Katnis discussing hair with anyone. She just thinks about it for like one second and that's it. She's off to facing the problem at hand - the capitol.
But then you have Harry Potter, where the characters talk about a host of different things: Christmas, presents, girls, school work, etc.
The trick is to find balance, mate
