@Override protected void onVisibilityChanged(View changedView, int visibility) { super.onVisibilityChanged(changedView, visibility); // If the visibility is not VISIBLE, we want to dismiss the tooltip if it is there if (visibility != VISIBLE) { dismissToolTip(); } }
@Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); if (accessTokenTracker != null) { accessTokenTracker.stopTracking(); } dismissToolTip(); }