public class HintDialogHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
HintDialogHelper.HintActions |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
HintDialogHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
resetHints(android.content.Context context) |
static void |
showHint(android.content.Context context,
java.lang.String title,
java.lang.String message,
java.lang.String id)
Shows a hint that can be dismissed once, or permanently dismissed.
|
static void |
showHint(android.content.Context context,
java.lang.String title,
java.lang.String message,
java.lang.String id,
HintDialogHelper.HintActions action)
Shows a hint that can be dismissed once, or permanently dismissed.
|
static void |
showHint(android.content.Context context,
java.lang.String title,
java.lang.String message,
java.lang.String id,
HintDialogHelper.HintActions action,
boolean onlyShowOnce)
Shows a hint that can be dismissed once, or permanently dismissed.
|
static void |
showHint(android.content.Context context,
java.lang.String title,
android.view.View view,
java.lang.String id)
Shows a hint that can be dismissed once, or permanently dismissed.
|
static void |
showHint(android.content.Context context,
java.lang.String title,
android.view.View view,
java.lang.String id,
HintDialogHelper.HintActions action)
Shows a hint that can be dismissed once, or permanently dismissed.
|
static void |
showHint(android.content.Context context,
java.lang.String title,
android.view.View view,
java.lang.String id,
HintDialogHelper.HintActions action,
boolean onlyShowOnce)
Shows a hint that can be dismissed once, or permanently dismissed.
|
public static final java.lang.String TAG
public static void showHint(android.content.Context context, java.lang.String title, java.lang.String message, java.lang.String id)
title
- title the title to show in the dialog.message
- the message to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.public static void showHint(android.content.Context context, java.lang.String title, java.lang.String message, java.lang.String id, HintDialogHelper.HintActions action)
title
- title the title to show in the dialog.message
- the message to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.action
- an action taken right before the dialog is displayed and right after the dialog is dismissed,
can be null.public static void showHint(android.content.Context context, java.lang.String title, java.lang.String message, java.lang.String id, HintDialogHelper.HintActions action, boolean onlyShowOnce)
title
- title the title to show in the dialog.message
- the message to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.action
- an action taken right before the dialog is displayed and right after the dialog is dismissed,
can be null.onlyShowOnce
- only show once by defaultpublic static void showHint(android.content.Context context, java.lang.String title, android.view.View view, java.lang.String id)
title
- title the title to show in the dialog.view
- the view to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.public static void showHint(android.content.Context context, java.lang.String title, android.view.View view, java.lang.String id, HintDialogHelper.HintActions action)
title
- title the title to show in the dialog.view
- the view to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.action
- an action taken right before the dialog is displayed and right after the dialog is dismissed,
can be null.public static void showHint(android.content.Context context, java.lang.String title, android.view.View view, java.lang.String id, HintDialogHelper.HintActions action, boolean onlyShowOnce)
title
- title the title to show in the dialog.view
- the view to display.id
- a unique but human readable identifier. If null, the dialog will always be shown.action
- an action taken right before the dialog is displayed and right after the dialog is dismissed,
can be null.onlyShowOnce
- only show once by defaultpublic static void resetHints(android.content.Context context)