Reputation: 572
So I'm looking for the best way to show a spinner/loading screen while my data is being fetched.
I know there have been a ton of questions, but the questions/answers have been submitted 2+ years ago.
I'm looking for something more current and more agreeable to Google's best practices.
Upvotes: 0
Views: 993
Reputation: 5626
Consider this approach:
You can find the library and how to use it here
I hope this gives you an idea. Good luck.
Upvotes: 1
Reputation: 15668
SwipeRefreshLayout is pretty modern an pretty popular too. I use it a lot. Here is the desing pattern and some video animations showing you what it will look like. Here is some basic example how to implement it, it's pretty simple too.
Upvotes: 2