Singleton of problems

00:0000:00

In this short and sweet episode, I talk about issues you can run up against when using a Singleton to store session data.

Audio is getting better!

 

Show Notes:

Dave - https://twitter.com/dave_a_thomas

Medium blog on this topic - https://medium.com/@davethomas_9528/please-dont-use-singletons-to-persist-state-on-android-7bac9bc78b29

 

SharedPreferences - https://developer.android.com/reference/android/content/SharedPreferences.html

Room - https://developer.android.com/topic/libraries/architecture/room.html

Realm - https://blog.realm.io/realm-for-android/

 

 

Share | Download(Loading)