public class ErrorDialogManager
extends java.lang.Object
factory
to configure dialogs for your app, typically in Application.onCreate()
attachTo(Activity)
, attachTo(Activity, boolean)
or
attachTo(Activity, boolean, Bundle)
in your Activity, typically in onCreate.ErrorDialogFragmentFactory
.Modifier and Type | Class and Description |
---|---|
static class |
ErrorDialogManager.HoneycombManagerFragment |
static class |
ErrorDialogManager.SupportManagerFragment |
Modifier and Type | Field and Description |
---|---|
static ErrorDialogFragmentFactory<?> |
factory
Must be set by the application.
|
static java.lang.String |
KEY_EVENT_TYPE_ON_CLOSE |
static java.lang.String |
KEY_FINISH_AFTER_DIALOG |
static java.lang.String |
KEY_ICON_ID |
static java.lang.String |
KEY_MESSAGE |
static java.lang.String |
KEY_TITLE |
protected static java.lang.String |
TAG_ERROR_DIALOG |
protected static java.lang.String |
TAG_ERROR_DIALOG_MANAGER |
Constructor and Description |
---|
ErrorDialogManager() |
Modifier and Type | Method and Description |
---|---|
static void |
attachTo(android.app.Activity activity)
Scope is limited to the activity's class.
|
static void |
attachTo(android.app.Activity activity,
boolean finishAfterDialog)
Scope is limited to the activity's class.
|
static void |
attachTo(android.app.Activity activity,
boolean finishAfterDialog,
android.os.Bundle argumentsForErrorDialog)
Scope is limited to the activity's class.
|
static void |
attachTo(android.app.Activity activity,
java.lang.Object executionScope,
boolean finishAfterDialog,
android.os.Bundle argumentsForErrorDialog) |
protected static void |
checkLogException(ThrowableFailureEvent event) |
public static ErrorDialogFragmentFactory<?> factory
protected static final java.lang.String TAG_ERROR_DIALOG
protected static final java.lang.String TAG_ERROR_DIALOG_MANAGER
public static final java.lang.String KEY_TITLE
public static final java.lang.String KEY_MESSAGE
public static final java.lang.String KEY_FINISH_AFTER_DIALOG
public static final java.lang.String KEY_ICON_ID
public static final java.lang.String KEY_EVENT_TYPE_ON_CLOSE
public static void attachTo(android.app.Activity activity)
public static void attachTo(android.app.Activity activity, boolean finishAfterDialog)
public static void attachTo(android.app.Activity activity, boolean finishAfterDialog, android.os.Bundle argumentsForErrorDialog)
public static void attachTo(android.app.Activity activity, java.lang.Object executionScope, boolean finishAfterDialog, android.os.Bundle argumentsForErrorDialog)
protected static void checkLogException(ThrowableFailureEvent event)
Available under the Apache License, Version 2.0 - Copyright © 2012-2015 greenrobot.de. All Rights Reserved.