Before displaying the required fragment, I would like to show the loading screen (without Dialog ) until the data has been loaded. The difficulty is that it needs to be implemented as a fragment, in whose place the data will already be displayed. Only crutches come to mind. When googled, stumbled upon this library:
https://github.com/johnkil/Android-ProgressFragment
But it has not been updated for a long time, and I don’t want to clog the project with libraries either. Perhaps someone knows the optimal way to get this effect?
Thank you in advance.
UPD
Perhaps not entirely obvious, but I want to get a similar effect.

Dialogmeans blocking control. Yes, and does not look very much. I just want to show an empty fragment with a boot circle (it sounds stupid) in the center to show the main markup. - ahgpoug