Skip to content

Instantly share code, notes, and snippets.

@LloydBlv
Created January 27, 2024 03:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save LloydBlv/7834836535c05b6662616e30a8c8594c to your computer and use it in GitHub Desktop.
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