In an application that has authentication, most of the times it is necessary to store information such as name, email and, depending on the case, the ID of this user. This information can be used in multiple activities. The ID, for example, can be used as a parameter to retrieve information on a remote server.
What is the best way to implement global data storage in an application?