Одежда висит в шкафу - Yes, that's the way to go and шкафу is not in dative but in prepositional - висит (в чем? Где?) в шкафу.
Мой дядя интересуется астрологией - That's correct as well and that...