is there a way to store "some" variables easily, when the app is closed and the next time you will start the app it will have access to?
I dont want to use a database for 3..4 Variables...
Many applications require access to a persistent storage. The two most common storage types are files and databases. We will cover text files in this tutorial. The predefined Files object has several utility methods for working with text files which are pretty easy to use. Files locations -...
In Java i found this
SharedPreferences sharedPreferences = context.getSharedPreferences("DATA",Context.MODE_PRIVATE);
sharedPreferences.edit().putString("KEY",yourVar).apply();