Package com.pubmatic.sdk.common.utility
Class POBAlertDialog
-
- All Implemented Interfaces:
public class POBAlertDialogClass to manage generic alert dialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePOBAlertDialog.POBDialogListenerNotifies the callback events on Dialog
-
Constructor Summary
Constructors Constructor Description POBAlertDialog()
-
Method Summary
Modifier and Type Method Description static AlertDialog.Builderbuild(Context context, String title, String msg, POBAlertDialog.POBDialogListener pmDialogListener)Method to init alert dialog and show it according to inputs -
-
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 Dialogtitle- of type string which is shown as Title of the dialogmsg- of type string which is shown as message of the dialogpmDialogListener- Listener which will notify AlertDialog actions- Returns:
builds AlertDialog.Builder with provided params
-
-
-
-