It is necessary that after the update on the device at the first entrance a certain fragment opens, demonstrating "What's new in the application", so how can you track the fact that the user first launched the application after the update?

    1 answer 1

    Use SharedPreferences and BuildConfig.VERSION_CODE Check after launch what version of code you have. If new then open demo fragment and save BuildConfig.VERSION_CODE in SharedPreferences

    • In principle, I was going to, but hoped that there was a more elegant way - AOD