You're never keeping `context` in the `TokenManage...
# android
s
You're never keeping
context
in the
TokenManager
instance. What you probably want to do is to ditch the private constructor and have one primary constructor that takes in the
Context
, then retain that instance. However, be careful of memory leaks when doing this. In your case it might make more sense to pass in an
Application
and grab the application context instead.
1