FragmentManager.FragmentLifecycleCallbacks.OnFragmentViewCreated Метод

Определение

Вызывается после того, как фрагмент вернул представление, отличное от NULL, из запроса Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle)FragmentManager в .

[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

Параметры

fm
FragmentManager

Host FragmentManager

f
Fragment

Фрагмент, созданный и принадлежащий представлению

v
View

Представление, возвращаемое фрагментом

savedInstanceState
Bundle

Сохраненный пакет экземпляров из предыдущего экземпляра

Атрибуты

Комментарии

Вызывается после того, как фрагмент вернул представление, отличное от NULL, из запроса Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle)FragmentManager в .

Документация по Java для android.app.FragmentManager.FragmentLifecycleCallbacks.onFragmentViewCreated(android.app.FragmentManager, android.app.Fragment, android.view.View, android.os.Bundle).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к