Kia Optima Side View Mirror Housing Popped Off

If you glue it down, it will not rotate anymore. It looks like the pivot is fractured and pieces are missing. Your best bet is to replace the whole unit and I suggest going to a salvage yard to find one.