changhyun
06/06/2018, 6:33 AMclass TokenManager {
private constructor()
constructor(context: Context) : this()
companion object {
fun create(context: Context) = TokenManager(context = context)
}
var tokenSharedPreferences: SharedPreferences = context.getSharedPreferences(Constants.USER_TOKEN_PREF, Context.MODE_PRIVATE)
Why I cant not user context?…