/// <summary>Remove a previously installed touch mode change callback</summary> /// <param name="victim">The callback to remove</param> /// <exception cref="System.InvalidOperationException"> /// If /// <see cref="isAlive()">isAlive()</see> /// returns false /// </exception> /// <seealso cref="addOnTouchModeChangeListener(OnTouchModeChangeListener)">addOnTouchModeChangeListener(OnTouchModeChangeListener) /// </seealso> public void removeOnTouchModeChangeListener(android.view.ViewTreeObserver.OnTouchModeChangeListener victim) { checkIsAlive(); if (mOnTouchModeChangeListeners == null) { return; } mOnTouchModeChangeListeners.remove(victim); }
/// <summary>Remove a previously installed internal insets computation callback</summary> /// <param name="victim">The callback to remove</param> /// <exception cref="System.InvalidOperationException"> /// If /// <see cref="isAlive()">isAlive()</see> /// returns false /// </exception> /// <seealso cref="addOnComputeInternalInsetsListener(OnComputeInternalInsetsListener) /// ">We are not yet ready to commit to this API and support it, so</seealso> /// <hide></hide> public void removeOnComputeInternalInsetsListener(android.view.ViewTreeObserver.OnComputeInternalInsetsListener victim) { checkIsAlive(); if (mOnComputeInternalInsetsListeners == null) { return; } mOnComputeInternalInsetsListeners.remove(victim); }
/// <summary>Remove a previously installed global layout callback</summary> /// <param name="victim">The callback to remove</param> /// <exception cref="System.InvalidOperationException"> /// If /// <see cref="isAlive()">isAlive()</see> /// returns false /// </exception> /// <seealso cref="addOnGlobalLayoutListener(OnGlobalLayoutListener)">addOnGlobalLayoutListener(OnGlobalLayoutListener) /// </seealso> public void removeGlobalOnLayoutListener(android.view.ViewTreeObserver.OnGlobalLayoutListener victim) { checkIsAlive(); if (mOnGlobalLayoutListeners == null) { return; } mOnGlobalLayoutListeners.remove(victim); }