(GL music player -- code implementation_ V_-- Save data SharedPreferences pdf
Whether it is the next skin replacement, the setting of song dump, or the introduction of new functions for the first time, data storage is indispensable. Next, we introduce a relatively simple data storage method, shared preferences. SharedPreferences is a lightweight on the Android platform. The storage class is mainly used to save some common configurations, such as window status. Generally, the window status will be reloaded in the activity. Onsaveinstancestate is saved by SharedPreferences)