DialogConfigurationBuilder

class DialogConfigurationBuilder(arg0: Context) : ConfigurationBuilder

Class generated based on AcraDialog (Jul 23, 2021 6:22:59 PM)

Constructors

DialogConfigurationBuilder
Link copied to clipboard
fun DialogConfigurationBuilder(arg0: Context)

Functions

build
Link copied to clipboard
open override fun build(): DialogConfiguration
withCommentPrompt
Link copied to clipboard
fun withCommentPrompt(commentPrompt: String): DialogConfigurationBuilder
label of the comment input prompt.
withEmailPrompt
Link copied to clipboard
fun withEmailPrompt(emailPrompt: String): DialogConfigurationBuilder
label of the email input prompt.
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): DialogConfigurationBuilder
withNegativeButtonText
Link copied to clipboard
fun withNegativeButtonText(negativeButtonText: String): DialogConfigurationBuilder
label of the negative button
withPositiveButtonText
Link copied to clipboard
fun withPositiveButtonText(positiveButtonText: String): DialogConfigurationBuilder
label of the positive button
withReportDialogClass
Link copied to clipboard
fun withReportDialogClass(reportDialogClass: Class<out Activity>): DialogConfigurationBuilder
Custom CrashReportDialog class
withResCommentPrompt
Link copied to clipboard
fun withResCommentPrompt(@StringRes() resCommentPrompt: Int): DialogConfigurationBuilder
label of the comment input prompt.
withResEmailPrompt
Link copied to clipboard
fun withResEmailPrompt(@StringRes() resEmailPrompt: Int): DialogConfigurationBuilder
label of the email input prompt.
withResIcon
Link copied to clipboard
fun withResIcon(@DrawableRes() resIcon: Int): DialogConfigurationBuilder
icon of the dialog
withResNegativeButtonText
Link copied to clipboard
fun withResNegativeButtonText(@StringRes() resNegativeButtonText: Int): DialogConfigurationBuilder
label of the negative button
withResPositiveButtonText
Link copied to clipboard
fun withResPositiveButtonText(@StringRes() resPositiveButtonText: Int): DialogConfigurationBuilder
label of the positive button
withResText
Link copied to clipboard
fun withResText(@StringRes() resText: Int): DialogConfigurationBuilder
text in the dialog
withResTheme
Link copied to clipboard
fun withResTheme(@StyleRes() resTheme: Int): DialogConfigurationBuilder
theme of the dialog
withResTitle
Link copied to clipboard
fun withResTitle(@StringRes() resTitle: Int): DialogConfigurationBuilder
title of the dialog
withText
Link copied to clipboard
fun withText(text: String): DialogConfigurationBuilder
text in the dialog
withTitle
Link copied to clipboard
fun withTitle(title: String): DialogConfigurationBuilder
title of the dialog

Properties

commentPrompt
Link copied to clipboard
var commentPrompt: String
label of the comment input prompt.
context
Link copied to clipboard
var context: Context
emailPrompt
Link copied to clipboard
var emailPrompt: String
label of the email input prompt.
enabled
Link copied to clipboard
var enabled: Boolean
negativeButtonText
Link copied to clipboard
var negativeButtonText: String
label of the negative button
positiveButtonText
Link copied to clipboard
var positiveButtonText: String
label of the positive button
reportDialogClass
Link copied to clipboard
var reportDialogClass: Class<out Activity>
Custom CrashReportDialog class
resIcon
Link copied to clipboard
var resIcon: Int
icon of the dialog
resTheme
Link copied to clipboard
var resTheme: Int
theme of the dialog
text
Link copied to clipboard
var text: String
text in the dialog
title
Link copied to clipboard
var title: String
title of the dialog