showOrRestorePopOver
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.
Note: Call this method again in the case of Fragment recreation, e.g. due to configuration change. It is because the anchorView, the listeners, and the content Fragment creator inside the given request might not be valid anymore. They would refer to the old instances before the recreation and/or not suitable in the new configuration.
Parameters
The fragment that needs to show a popover.
The anchor view.
The request that contains all data necessary to show a popover.
The listener to be called when a popover is dismissed. Default value is null
. The tag
specified in the Request that was used to show the popover is passed as an argument.
The listener to be called when a touch even took place outside the popover. Default value is null
. The tag
specified in the Request that was used to show the popover is passed as an argument.