Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Awais9 committed Dec 18, 2018
2 parents 1c17d5f + 25caf2f commit ee4a44c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit ee4a44c

Please sign in to comment.