retryMenu

fun retryMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickRetryMenu() }): DialogMenuDetail

Returns the default "retry" menu for the message menu dialog.

Return

The DialogMenuDetail for the retry menu.

Since

1.0.0

Parameters

contract

The contract to handle the menu click actions.

onClick

The action to be executed when the menu is clicked. Defaults to MessageMenuDialogContract.onClickRetryMenu.