Simple util to check Internet connection.
Add to the top level gradle file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add to the app level gradle:
dependencies {
implementation 'com.github.gbksoft:ConnectivityUtil:0.0.7'
}
- Auto-width columns on-the-fly
- You can use custom layouts as cells
- You can setup width and heights of headers, show or not to show dividers, change dividers colors
`Importing class
import com.gbk.soft.connectivity_util.ConnectivityManager
`Creating instance
val connectivityManager = ConnectivityManager(this)
Checking Internet Connection returns true if device is connected to Internet, and false if not
connectivityManager.isOnline
This scrollable view android adjustment is not our only original decision. Contact us by email [email protected] to find out more about our projects! Share your feedback and tell us about yourself.