ViewGroup.FindOnBackInvokedDispatcherForChild(View, View) Metodo

Definizione

Esaminare la gerarchia di visualizzazione per trovare l'oggetto più OnBackInvokedDispatchervicino.

[Android.Runtime.Register("findOnBackInvokedDispatcherForChild", "(Landroid/view/View;Landroid/view/View;)Landroid/window/OnBackInvokedDispatcher;", "GetFindOnBackInvokedDispatcherForChild_Landroid_view_View_Landroid_view_View_Handler", ApiSince=33)]
public virtual Android.Window.IOnBackInvokedDispatcher? FindOnBackInvokedDispatcherForChild(Android.Views.View child, Android.Views.View requester);
[<Android.Runtime.Register("findOnBackInvokedDispatcherForChild", "(Landroid/view/View;Landroid/view/View;)Landroid/window/OnBackInvokedDispatcher;", "GetFindOnBackInvokedDispatcherForChild_Landroid_view_View_Landroid_view_View_Handler", ApiSince=33)>]
abstract member FindOnBackInvokedDispatcherForChild : Android.Views.View * Android.Views.View -> Android.Window.IOnBackInvokedDispatcher
override this.FindOnBackInvokedDispatcherForChild : Android.Views.View * Android.Views.View -> Android.Window.IOnBackInvokedDispatcher

Parametri

child
View

Elemento figlio diretto di questa visualizzazione per cui trovare un dispatcher.

requester
View

Richiedente che userà il dispatcher. Può essere uguale a figlio.

Valori restituiti

Oggetto OnBackInvokedDispatcher da questo o dal predecessore più vicino oppure null se la visualizzazione non è associata e non ha un predecessore che fornisce un oggetto OnBackInvokedDispatcher.

Implementazioni

Attributi

Commenti

Esaminare la gerarchia di visualizzazione per trovare l'oggetto più OnBackInvokedDispatchervicino.

per android.view.ViewGroup.findOnBackInvokedDispatcherForChild(android.view.View, android.view.View).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a