I know there are a lot of examples for this question, but couldn't find any better solution (except of this, but not working on kotlin). In most examples if there's no internet connection goes to exception and crashs app.
So, Is it possible to show Dialog/Toast with no internet error?