If it is to save the data of a login, it is best to use the SharedPreferences of android, so keep the data in session:
//Cargas una nueva instancia de SharedPreferences y la pones un nombre
SharedPreferences prefs = this.getSharedPreferences("miApp", Context.MODE_PRIVATE);
//Asi guardas un dato (por ejemplo el rut y la id de usuario logueado)
prefs.edit().putString('rut', 'valorquequieras').apply();
prefs.edit().putInt('id', 1).apply();
//Asi recuperas un valor
String rut = prefs.getString('rut', 'valorpordefecto');
Int id = prefs.getInt('id', -1);
When entering a value you give it a name and assign it the value you want and to recover it you say what value you want to recover and as a second parameter a default value in case it does not exist, so you can do checks.
SharedPreferences are accessible from anywhere in the code. I hope it serves you