jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients
Apache License 2.0
4.68k stars 452 forks source link

Is there any way to use without passing context parameter to constuctor #64

Open pawarn opened 6 years ago

pawarn commented 6 years ago

I want to use chuck without passing context parameter to the constructor. Because unnecessarily I have to pass constructor from presenter to Api class. If it supports then it is helpful for me.

jkyeo commented 6 years ago

May be you can try application context via custom singleton application class.

funyin commented 2 years ago

Application context does not work