Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matghazaryan authored Jan 25, 2019
1 parent 184b293 commit 2b463bf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add it in your root build.gradle at the end of repositories:
Add the dependency

dependencies {
implementation 'com.github.pmbfish40:DMNetworking:1.1.9'
implementation 'com.github.pmbfish40:DMNetworking:1.2.0'
}

If you're using Maven:
Expand All @@ -35,7 +35,7 @@ Add the dependency
<dependency>
<groupId>com.github.pmbfish40</groupId>
<artifactId>DMNetworking</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>

Don't forget to add permission on AndroidManifest.xml
Expand Down Expand Up @@ -552,7 +552,15 @@ If your internet not available you can simple change **isNeedToMakeRequest** to
}
### Easy debugging
Ovverride this method and see **requesting url, response, response type**

Enable fake json by calling

@Override
public boolean isEnableFakeJson() {
return true;
}

Than Ovverride this method and see **requesting url, response, response type**

@Override
public void onSuccessOrFailureResponseForDebug(final String url, final JSONObject jsonObject, final ResponseType responseType) {
Expand Down

0 comments on commit 2b463bf

Please sign in to comment.