StatusBarOverlay will automatically show a "No Internet Connection" bar when your app loses connection, and hide it again. It supports apps which hide the status bar and The Notch
Why do you think that https://github.com/MatiBot/MBCircularProgressBar is a good alternative to StatusBarOverlay