Condividi tramite


FragmentManager.FragmentLifecycleCallbacks.OnFragmentViewCreated Metodo

Definizione

Chiamato dopo che il frammento ha restituito una visualizzazione non Null dalla richiesta di FragmentManager a Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle).

[Android.Runtime.Register("onFragmentViewCreated", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/view/View;Landroid/os/Bundle;)V", "GetOnFragmentViewCreated_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_view_View_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual void OnFragmentViewCreated (Android.App.FragmentManager fm, Android.App.Fragment f, Android.Views.View v, Android.OS.Bundle savedInstanceState);
[<Android.Runtime.Register("onFragmentViewCreated", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/view/View;Landroid/os/Bundle;)V", "GetOnFragmentViewCreated_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_view_View_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member OnFragmentViewCreated : Android.App.FragmentManager * Android.App.Fragment * Android.Views.View * Android.OS.Bundle -> unit
override this.OnFragmentViewCreated : Android.App.FragmentManager * Android.App.Fragment * Android.Views.View * Android.OS.Bundle -> unit

Parametri

fm
FragmentManager

Host FragmentManager

f
Fragment

Frammento che ha creato e possiede la vista

v
View

Visualizzazione restituita dal frammento

savedInstanceState
Bundle

Bundle dell'istanza salvata da un'istanza precedente

Attributi

Commenti

Chiamato dopo che il frammento ha restituito una visualizzazione non Null dalla richiesta di FragmentManager a Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle).

Documentazione java per android.app.FragmentManager.FragmentLifecycleCallbacks.onFragmentViewCreated(android.app.FragmentManager, android.app.Fragment, android.view.View, android.os.Bundle).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a