Dark Mode Musings: Beware of the Context 🌗 – Riggaroo - Android Dev
I’ve been working on getting Dark Mode in our app fully supported and I stumbled upon an interesting finding: The Application#applicationContext does not keep information about the theme that you have set via AppCompatDelegate.setDefaultNightMode(), only a View or Activity context has this information stored. After reading through Chris Banes’ articles and watching some great talks … Read More Read More