java.lang.Objectcom.txtnation.android.Dialogs
public class Dialogs
Constructor Summary | |
---|---|
Dialogs()
|
Method Summary | |
---|---|
static GalDialog |
getConfirmationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config,
BillingManager billingManager,
Product product)
|
static GalDialog |
getFailureNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config,
Product product)
|
static GalDialog |
getForceUpdateNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config,
java.lang.String url)
|
static GalDialog |
getIndeterminateProgressDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
android.content.Context context,
ClientConfig config,
java.lang.String message)
Fetches a themed indeterminate progress dialog. |
static GalDialog |
getInformationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config)
|
static GalDialog |
getNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config,
Product product)
|
static GalDialog |
getProductSelectionDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
java.util.List<Product> products,
BillingManager billingManager,
android.content.Context context,
ClientConfig config)
Retrieves a themed dialog which presents a list of products to the user to select from. |
static GalDialog |
getSpinnerDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config)
|
static GalDialog |
getSuccessNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
java.lang.String i18nMessage,
java.lang.String i18nTitle,
android.content.Context context,
ClientConfig config,
Product product)
|
static TimedProgressDialog |
getTimedProgressDialog(android.content.DialogInterface.OnCancelListener onCancelListener,
BillingManager billingManager,
android.content.Context context,
ClientConfig config,
java.lang.String message,
java.lang.String title)
Fetches a themed progress dialog which fills up as time passes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dialogs()
Method Detail |
---|
public static GalDialog getIndeterminateProgressDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, android.content.Context context, ClientConfig config, java.lang.String message)
context
- The context to create the dialog withconfig
- The client configuration, null for defaults.message
- The message to show in the dialogmessage
- The title to show in the dialog
public static TimedProgressDialog getTimedProgressDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, android.content.Context context, ClientConfig config, java.lang.String message, java.lang.String title)
context
- The context to create the dialog withconfig
- The client configuration, null for defaults.message
- The message to show in the dialogmsTimeout
- The time taken for the progress dialog to complete.msExpectedTime
- The time taken for the progress dialog to almost complete.
public static GalDialog getProductSelectionDialog(android.content.DialogInterface.OnCancelListener onCancelListener, java.util.List<Product> products, BillingManager billingManager, android.content.Context context, ClientConfig config)
products
- The products to displaycontext
- The context with which to create the dialogconfig
- The client configuration, null for defaults.
public static GalDialog getNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config, Product product)
public static GalDialog getFailureNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config, Product product)
public static GalDialog getSuccessNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config, Product product)
public static GalDialog getForceUpdateNotificationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config, java.lang.String url)
public static GalDialog getInformationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config)
public static GalDialog getConfirmationDialog(android.content.DialogInterface.OnCancelListener onCancelListener, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config, BillingManager billingManager, Product product)
public static GalDialog getSpinnerDialog(android.content.DialogInterface.OnCancelListener onCancelListener, BillingManager billingManager, java.lang.String i18nMessage, java.lang.String i18nTitle, android.content.Context context, ClientConfig config)