SharedPreferences behaviour on Update/Uninstall

前端 未结 4 1370
不知归路
不知归路 2020-12-20 21:35

I am using shared preferences to store the number of times my application has been launched. Only on the first launch i display an Welcome message telling the user about the

4条回答
  •  心在旅途
    2020-12-20 21:49

    Instead of saving a boolean save the version number of the app. If the current app's version number is higher (updated), show your dialog and update the number.

提交回复
热议问题