Class ErrorDialogFragments


  • public class ErrorDialogFragments
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ERROR_DIALOG_ICON
      TODO Use config: Icon res ID to use for all error dialogs.
      static java.lang.Class<?> EVENT_TYPE_ON_CLICK
      TODO Use config: Event class to be fired on dismissing the dialog by the user.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static android.app.Dialog createDialog​(android.content.Context context, android.os.Bundle arguments, android.content.DialogInterface.OnClickListener onClickListener)  
      static void handleOnClick​(android.content.DialogInterface dialog, int which, android.app.Activity activity, android.os.Bundle arguments)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • ErrorDialogFragments

        public ErrorDialogFragments()
    • 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)