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/
Podchaser is the ultimate destination for podcast data, search, and discovery. Learn More