Package-level declarations

Types

Link copied to clipboard
data class ActionConfig(var text: String? = null, var backgroundColor: Int? = null, var textColor: Int? = null, var onActionListener: PeekActionListener? = null)
Link copied to clipboard
typealias PeekActionListener = (view: View) -> Unit
Link copied to clipboard
class PeekAlert
Link copied to clipboard
class PeekAlertBuilder(parentView: ViewGroup, isMultiWindow: Boolean)
Link copied to clipboard
class PeekAlertView(context: Context, width: Int) : ConstraintLayout
Link copied to clipboard
data class TextConfig(var content: String? = null, var size: Float? = null, var color: Int? = null, var typeface: Typeface? = null)

Functions

Link copied to clipboard
fun createPeekAlert(activity: Activity, block: BuilderBlock): PeekAlert
fun createPeekAlert(viewGroup: ViewGroup, block: BuilderBlock): PeekAlert
fun createPeekAlert(fragment: Fragment, block: BuilderBlock): PeekAlert