Singleton object becomes null after app is resumed
You’re getting crashes because you initialize those variables in one Activity, and expect it to be set always, in the other Activity. But Android doesn’t work like that, you can easily end up crashing because after low memory condition happens, only the current Activity gets recreated at first, previous Activity is recreated on back navigation, … Read more