Skip to content

Commit a75f213

Browse files
committed
update readme file
1 parent 59de6e0 commit a75f213

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Just add Zoomx NetworkLogInterceptor:
3939
```java
4040
OkHttpClient.Builder httpClient = new OkHttpClient
4141
.Builder()
42-
.addInterceptor(new NetworkLogInterceptor(this.context));
42+
.addInterceptor(new ZoomXLoggerInterceptor(this.context));
4343
```
4444

4545
# Volley or any request method
@@ -69,11 +69,12 @@ For example:
6969
- Copy any response/requests and share it via any app ex. (email).
7070
- Display request details in a pretty format.
7171

72-
# Upcoming Features
72+
# Upcoming Features
73+
- Take screenshot
7374
- Group requests per page.
7475
- Memory leaks report per page and whole app.
7576
- Control internet speed.
7677
- Shake to change working environment.
7778
- Badge title (To indicate user to on which environment you are connected production, staging,...).
78-
- Crashes report.
79+
- Crashes report.
7980

app/src/main/java/com/zoomx/example/MainActivity.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import com.zoomx.example.model.User;
77
import com.zoomx.example.retrofit.ApiService;
88
import com.zoomx.example.retrofit.NetworkManager;
9+
import com.zoomx.zoomx.config.ZoomX;
910

1011
import java.util.List;
1112
import java.util.concurrent.TimeUnit;
@@ -55,4 +56,15 @@ public void onComplete() {
5556
}
5657
});
5758
}
59+
60+
@Override
61+
protected void onPause() {
62+
super.onPause();
63+
ZoomX.hideHead();
64+
}
65+
66+
@Override
67+
protected void onResume() {
68+
super.onResume();
69+
}
5870
}

0 commit comments

Comments
 (0)