app
androidJvm
app
/
openfoodfacts.github.scrachx.openfood.repositories
/
NetworkConnectivityRepository
Network
Connectivity
Repository
androidJvm
@
Singleton
class
NetworkConnectivityRepository
@
Inject
constructor
(
context
:
Context
)
Content copied to clipboard
Constructors
Functions
Constructors
Network
Connectivity
Repository
Link copied to clipboard
androidJvm
@
Inject
fun
NetworkConnectivityRepository
(
context
:
Context
)
Content copied to clipboard
Functions
is
Network
Available
Link copied to clipboard
androidJvm
fun
isNetworkAvailable
(
)
:
Boolean
Content copied to clipboard
see
Context.isNetworkAvailable