A collection of commonly used static android helper methods. Mainly for android views.
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.kibotu:common.android.utils:-SNAPSHOT'
}
View
RequestProvider.freeGeoIpService().getGeoIp() // http://freegeoip.net/json/{$ip} 10k requests per hour
RequestProvider.ipInfoIoService().getGeoIp() // http://ipinfo.io/{$ip}/json 1k per day
RequestProvider.ipApiComService().getGeoIp() // http://ip-api.com/json/{$ip} 150 per minute
CachedHawkValue