main
package com.github.wnder.networkService; public interface NetworkService { /** * Checks if the phone has connection * @return true if there is network service */ boolean isNetworkAvailable(); }