Companion

object Companion

Functions

Link copied to clipboard
fun showOrRestorePopOver(    fragment: Fragment,     anchorView: View,     request: TtPopOverHandler.Request,     onDismissListener: (String) -> Unit? = null,     onTouchOutsideListener: (String) -> Unit? = null): TtPopOverHandler

Shows the popover with given fragment as its parent. If a popover has been shown before in this fragment, and is not dismissed yet, then the previous popover is re-used. To show a popover with different content, the previous popover must be dismissed by calling TtPopOverHandler.dismissPopOver, or auto-dismissed with Request.autoDismissTimeout.