In almost every mobile application I’m building, offline support is a must have. So one of the things I always have to do is check if an Internet connection is available.
To help me remember this, a small code snippet that does the job:
In almost every mobile application I’m building, offline support is a must have. So one of the things I always have to do is check if an Internet connection is available.
To help me remember this, a small code snippet that does the job: