You could glue it but if the plastic is damaged or stretched where it snapped off it is not going to work. If it is a clean break then adhesive might work, but the surfaces need to be clean and dry and hardening is helped by it being warm (over 20 deg). If you are going the glue route, then try a quick set epoxy