Skip to main content

Screen: LMFeedSelfDeleteDialogFragment

The LMFeedSelfDeleteDialogFragment is a dialog fragment that provides users with options to confirm or cancel the deletion of their own posts. It displays a customizable alert dialog with positive and negative actions.

GitHub Link to LMFeedSelfDeleteDialogFragment


View Style: LMFeedSelfDeleteDialogFragmentStyle

The LMFeedSelfDeleteDialogFragmentStyle defines the visual style for the dialog fragment. Below are the customizable fields:

Field NameDescriptionType
selfDeleteDialogStyleStyle for the self-delete alert dialog.LMFeedAlertDialogViewStyle

GitHub Link to LMFeedSelfDeleteDialogFragmentStyle


Customization Available in LMFeedSelfDeleteDialogFragment

Dialog Customizations

  • customizeSelfDeleteDialog(alertDialogDelete: LMFeedAlertDialogView)
    Customizes the self-delete alert dialog view.

Interactions Available in LMFeedSelfDeleteDialogFragment

Alert Dialog Interactions

  • onSelfDeleteAlertPositiveButtonClicked()
    Triggered when the positive button in the self-delete alert dialog is clicked.
  • onSelfDeleteAlertNegativeButtonClicked()
    Triggered when the negative button in the self-delete alert dialog is clicked.