Created
January 27, 2024 03:25
-
-
Save LloydBlv/7834836535c05b6662616e30a8c8594c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val chuckerCollector = ChuckerCollector( | |
context = this, | |
// Toggles visibility of the notification | |
showNotification = true | |
) | |
val chuckerInterceptor = ChuckerInterceptor.Builder(context) | |
.collector(chuckerCollector) | |
// Controls Android shortcut creation. | |
.createShortcut(true) | |
.build() | |
val client = OkHttpClient.Builder() | |
.addInterceptor(chuckerInterceptor) | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment