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
Параметры
Host FragmentManager
- f
- Fragment
Фрагмент, созданный и принадлежащий представлению
- v
- View
Представление, возвращаемое фрагментом
- savedInstanceState
- Bundle
Сохраненный пакет экземпляров из предыдущего экземпляра
- Атрибуты
Комментарии
Вызывается после того, как фрагмент вернул представление, отличное от NULL, из запроса Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle)
FragmentManager в .
Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.