Hello,
If anyone opens my app I check if a secure token exists (For logging). If it exists I fetch data like user information,posts etc.
So, If the token exists and the data are fetched, how I make a loading Icon until everything is finish?
The user only should to see the full screen loading Icon Until everything is finish.
maybe I have a solution but I want to hear your solution maybe is better.
My solution is:
I have a logged State. And if this is null I check the token. And as long as is not false or True then I show the loading icon. How you would do this?