Partager via


FragmentManager.FragmentLifecycleCallbacks.OnFragmentViewCreated Méthode

Définition

Appelé après que le fragment a renvoyé une vue non null de la demande de FragmentManager à 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

Paramètres

fm
FragmentManager

Host FragmentManager

f
Fragment

Fragment qui a créé et possède la vue

v
View

Affichage retourné par le fragment

savedInstanceState
Bundle

Offre groupée d’instances enregistrées à partir d’une instance précédente

Attributs

Remarques

Appelé après que le fragment a renvoyé une vue non null de la demande de FragmentManager à Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle).

Documentation Java pour android.app.FragmentManager.FragmentLifecycleCallbacks.onFragmentViewCreated(android.app.FragmentManager, android.app.Fragment, android.view.View, android.os.Bundle).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à