androidpopuphints

Android hint dialogs


I would like to present series of pop-ups to the user when he uses the application for the first time. The pop-up will contain help messages (ex. click here to do something, swipe to view...). Once the popup is clicked it will be dismissed, displaying the next one.

Is there any short way to do this?

Any ideas (or best practices) how to do this will be appreciated.

Thank you


Solution

  • Use a SharedPreference as a flag which is checked when the activity is run. If it isn't set on the first run, show the popups using a DialogFragment. After they've seen all of the popups, set the flag to hide them on future runs.