Domhnall Gleeson says Margot Robbie has taught him how to handle public attention