Android App Updating Without Losing Data
问题 I'm new to Android development, so I'm trying to do an app that stores information about a warehouse. However, I'm afraid that if I perform an update, the user data will get lost. Do I have to manage which data should remain unchanged upon updating? Also, I would like to know if it would make any difference to use a serializable class or to use an SQL database if I want to keep the data safe. Thanks a lot :) 回答1: When you update the app, SharedPreferences and SQLite will not lose data. So you