PeekAlertBuilder

class PeekAlertBuilder(parentView: ViewGroup, isMultiWindow: Boolean)

Constructors

Link copied to clipboard
constructor(parentView: ViewGroup, isMultiWindow: Boolean)

Types

Link copied to clipboard
class ActionBuilder(text: String, context: Context)
Link copied to clipboard
class TextBuilder(content: String, context: Context)
Link copied to clipboard
class TitleBuilder(content: String, context: Context)

Functions

Link copied to clipboard
Link copied to clipboard
fun backgroundColor(@ColorRes res: Int? = null, @ColorInt value: Int? = null)
Link copied to clipboard
Link copied to clipboard
fun hide()
Link copied to clipboard
fun iconTint(@ColorRes res: Int? = null, @ColorInt value: Int? = null)
Link copied to clipboard
fun text(content: String, block: PeekAlertBuilder.TextBuilder.() -> Unit = {})
Link copied to clipboard
fun title(content: String, block: PeekAlertBuilder.TitleBuilder.() -> Unit = {})

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var margin: Pair<Int?, Int?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var width: Int