Since Purandara Dasaru is an Aproksha Gynani, the Lord showed him visions of his leelas from time to time.
Any mistakes are solely mine! To understand this, we need to understand the circumstance of composing the song. I just remembered some things I was taught about this song.
Very nice translation, I learnt some meanings here.