How are you implementing a loading indicator when working with external api?

I’m working with an external API and doing a search on it from bubble.
What would be the best approach to show a loading indicator while the results are fetched?

If you’re retrieving a list, I would highly recommend Keith’s List Shifter. It has much finer control to let you know when it’s loading. I like to show a group with an animated something.

If it is something small, it might be interesting to use something like the Font Awesome spinners on the button itself (I’ve got a mention of it here).

Thanks a lot.
I will make sure to check that LIST.