That does not sound like an extension function to ...
# android
j
That does not sound like an extension function to me. Of what does it check the internet connection? My guess is of nothing, it just does. A top-level function seems appropriate here