Skip to content

Commit

Permalink
all code are written
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsust committed Dec 21, 2018
1 parent 2563678 commit 5daafe1
Show file tree
Hide file tree
Showing 2 changed files with 367 additions and 36 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/pavel/responsecode/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void onClick(View view) {

if (!httpResponseCode.checkResponse(200)){
if (!httpResponseCode.checkResponse(530)){
/**
*
* do what ever you want if status code is not 200 then automaticaly status will show through a toast
Expand Down
Loading

0 comments on commit 5daafe1

Please sign in to comment.