I have an alert that I want to display only the first time right after starting the application for the first time.
How can I do that?
I have an alert that I want to display only the first time right after starting the application for the first time.
How can I do that?
There are a few ways to do this, but perhaps the easiest is just to check a flag in a SharedPreferences object and set it once the alert is shown.
SharedPreferences
Something like