Android, Kotlin, Network, Broadcast Receiver.
data class to store the values data class Connectivity( val hasNetwork: Boolean = false, val hasGps: Boolean = false ) then an Interface so we can have good coding practices interface ConnectivityClient { fun bind(activity: ComponentActivity) fun release(activity: ComponentActivity) val