My application has some dynamic paths that are formed at each launch. And to which I need to have access from any part of the program. Now I use a static object. Everything suits me. However, the article on Habré is not recommended to store data in static , it is associated with the life cycle of the Activity.
There is either a property file or SQLite , but I am confused by the "weight" of these methods. Perhaps there are some other options? Or is it worth staying at SQLite ?
SharedPreferences, 2 -БД, 3 -@Bean. In my case, I will give preference to all theБД. But@Beanis an interesting option, at least not familiar to me. - eugeniuskh