Skip to content

Commit 5daafe1

Browse files
committed
all code are written
1 parent 2563678 commit 5daafe1

File tree

2 files changed

+367
-36
lines changed

2 files changed

+367
-36
lines changed

app/src/main/java/com/pavel/responsecode/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected void onCreate(Bundle savedInstanceState) {
3131
@Override
3232
public void onClick(View view) {
3333

34-
if (!httpResponseCode.checkResponse(200)){
34+
if (!httpResponseCode.checkResponse(530)){
3535
/**
3636
*
3737
* do what ever you want if status code is not 200 then automaticaly status will show through a toast

0 commit comments

Comments
 (0)