I have read question : this and this about reading shared preferences. But they still need Context to access SharedPreferences. I want to know how to access SharedPreferences without context. Thanks in advance
I solve my problem by retrieve ApplicationContext first (this) and then use that context to get SharedPreferences. thank K-ballo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With