File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
library/src/main/java/io/github/douglasjunior/androidSimpleTooltip Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -326,6 +326,12 @@ public void onDismiss() {
326326 mOnDismissListener .onDismiss (this );
327327 mOnDismissListener = null ;
328328
329+ SimpleTooltipUtils .removeOnGlobalLayoutListener (mPopupWindow .getContentView (), mLocationLayoutListener );
330+ SimpleTooltipUtils .removeOnGlobalLayoutListener (mPopupWindow .getContentView (), mArrowLayoutListener );
331+ SimpleTooltipUtils .removeOnGlobalLayoutListener (mPopupWindow .getContentView (), mShowLayoutListener );
332+ SimpleTooltipUtils .removeOnGlobalLayoutListener (mPopupWindow .getContentView (), mAnimationLayoutListener );
333+ SimpleTooltipUtils .removeOnGlobalLayoutListener (mPopupWindow .getContentView (), mAutoDismissLayoutListener );
334+
329335 mPopupWindow = null ;
330336 }
331337
You can’t perform that action at this time.
0 commit comments