Package org.greenrobot.eventbus.util
Class ErrorDialogFragments
- java.lang.Object
-
- org.greenrobot.eventbus.util.ErrorDialogFragments
-
public class ErrorDialogFragments extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorDialogFragments.Honeycombstatic classErrorDialogFragments.Support
-
Field Summary
Fields Modifier and Type Field Description static intERROR_DIALOG_ICONTODO Use config: Icon res ID to use for all error dialogs.static java.lang.Class<?>EVENT_TYPE_ON_CLICKTODO Use config: Event class to be fired on dismissing the dialog by the user.
-
Constructor Summary
Constructors Constructor Description ErrorDialogFragments()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static android.app.DialogcreateDialog(android.content.Context context, android.os.Bundle arguments, android.content.DialogInterface.OnClickListener onClickListener)static voidhandleOnClick(android.content.DialogInterface dialog, int which, android.app.Activity activity, android.os.Bundle arguments)
-
-
-
Field Detail
-
ERROR_DIALOG_ICON
public static int ERROR_DIALOG_ICON
TODO Use config: Icon res ID to use for all error dialogs. May be configured by each app (optional).
-
EVENT_TYPE_ON_CLICK
public static java.lang.Class<?> EVENT_TYPE_ON_CLICK
TODO Use config: Event class to be fired on dismissing the dialog by the user. May be configured by each app.
-
-
Method Detail
-
createDialog
public static android.app.Dialog createDialog(android.content.Context context, android.os.Bundle arguments, android.content.DialogInterface.OnClickListener onClickListener)
-
handleOnClick
public static void handleOnClick(android.content.DialogInterface dialog, int which, android.app.Activity activity, android.os.Bundle arguments)
-
-