Class ErrorDialogs

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorDialogs()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void show(Context ctx, String message) Show an error dialog with no following action.
      static void show(Context ctx, String message, Runnable action) Show an error dialog and trigger an action on acknowledgement.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorDialogs

        ErrorDialogs()
    • Method Detail

      • show

         static void show(Context ctx, String message)

        Show an error dialog with no following action.

        Parameters:
        ctx - the context of the application.
        message - the message to show to the user.
      • show

         static void show(Context ctx, String message, Runnable action)

        Show an error dialog and trigger an action on acknowledgement.

        Parameters:
        ctx - the context of the application.
        message - the message to show to the user.
        action - the action to take after acknowledgement.