Is there a way to customize loading indicators?

I wish to customize the current spinner with our app specific illustration. Can we do so by providing some alternate image in showSpinner() function?