public virtual void onGlobalLayout() { if (isShowing()) { android.view.View anchor = mAnchorView; if (anchor == null || !anchor.isShown()) { dismiss(); } else { if (isShowing()) { // Recompute window size and position mPopup.show(); } } } }
public virtual void onGlobalLayout() { if (isShowing()) { android.view.View anchor = mAnchorView; if (anchor == null || !anchor.isShown()) { dismiss(); } else { if (isShowing()) { // Recompute window size and position mPopup.show(); } } } }