Class POBAlertDialog

  • All Implemented Interfaces:

    
    public class POBAlertDialog
    
                        

    Class to manage generic alert dialog

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      POBAlertDialog()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static AlertDialog.Builder build(Context context, String title, String msg, POBAlertDialog.POBDialogListener pmDialogListener) Method to init alert dialog and show it according to inputs
      • Methods inherited from class java.lang.Object

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

      • POBAlertDialog

        POBAlertDialog()
    • Method Detail

      • build

        @Nullable() static AlertDialog.Builder build(Context context, String title, String msg, POBAlertDialog.POBDialogListener pmDialogListener)

        Method to init alert dialog and show it according to inputs

        Parameters:
        context - android context which needs to create Alert Dialog
        title - of type string which is shown as Title of the dialog
        msg - of type string which is shown as message of the dialog
        pmDialogListener - Listener which will notify AlertDialog actions
        Returns:

        builds AlertDialog.Builder with provided params