From 25caf2ffb34d9b08a8c7e2c6713d139c6688119c Mon Sep 17 00:00:00 2001 From: Muhammad Awais Date: Tue, 18 Dec 2018 10:50:08 +0500 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d36c41..c1cf226 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Add the following in your main project gradle file And add the following in app gradle file dependencies { - implementation 'com.github.Awais9:VolleySingleCall:v1.4' + implementation 'com.github.Awais9:VolleySingleCall:v1.5' } # How to use? @@ -46,6 +46,9 @@ Just call the service from network controller as below: networkController.isFinishActivity = true networkController.callService(NetworkConst.POST, serviceName, null, TAG, JSONObject::class.java, object : VolleyResponse { + override fun noInternet() { + Log.e("Log", "If internet is not connected") + } override fun onSuccess(response: Any, tag: String) { Log.e("onSuccess", tag) }