Android App Updating Without Losing Data

前端 未结 3 487
栀梦
栀梦 2021-01-18 04:01

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

3条回答
  •  轮回少年
    2021-01-18 04:30

    If server space isn't an option I would suggest using SharedPreferences. So long as your package name doesn't change all of your data will persist beyond an update.

提交回复
热议问题