C# Class MvvmCross.Droid.FullFragging.Fragments.MvxFragmentExtensions

Exibir arquivo Open project: MvvmCross/MvvmCross

Public Methods

Method Description
AddEventListeners ( this fragment ) : void
EnsureBindingContextIsSet ( this fragment, Bundle b0 ) : void
EnsureBindingContextIsSet ( this fragment, Android.Views.LayoutInflater inflater ) : void
EnsureSetupInitialized ( this fragmentView ) : void
FindAssociatedViewModelType ( this fragmentView, Type fragmentActivityParentType ) : Type
OnCreate ( this fragmentView, IMvxBundle bundle, MvxViewModelRequest request = null ) : void
RegisterFragmentViewToCacheIfNeeded ( this fragmentView, Type fragmentParentActivityType ) : void
ToFragment ( this fragmentView ) : Fragment

Private Methods

Method Description
LoadViewModel ( this fragmentView, IMvxBundle savedState, Type fragmentParentActivityType, MvxViewModelRequest request = null ) : IMvxViewModel
RunViewModelLifecycle ( IMvxViewModel viewModel, IMvxBundle savedState, MvxViewModelRequest request ) : void

Method Details

AddEventListeners() public static method

public static AddEventListeners ( this fragment ) : void
fragment this
return void

EnsureBindingContextIsSet() public static method

public static EnsureBindingContextIsSet ( this fragment, Bundle b0 ) : void
fragment this
b0 Bundle
return void

EnsureBindingContextIsSet() public static method

public static EnsureBindingContextIsSet ( this fragment, Android.Views.LayoutInflater inflater ) : void
fragment this
inflater Android.Views.LayoutInflater
return void

EnsureSetupInitialized() public static method

public static EnsureSetupInitialized ( this fragmentView ) : void
fragmentView this
return void

FindAssociatedViewModelType() public static method

public static FindAssociatedViewModelType ( this fragmentView, Type fragmentActivityParentType ) : Type
fragmentView this
fragmentActivityParentType System.Type
return System.Type

OnCreate() public static method

public static OnCreate ( this fragmentView, IMvxBundle bundle, MvxViewModelRequest request = null ) : void
fragmentView this
bundle IMvxBundle
request MvvmCross.Core.ViewModels.MvxViewModelRequest
return void

RegisterFragmentViewToCacheIfNeeded() public static method

public static RegisterFragmentViewToCacheIfNeeded ( this fragmentView, Type fragmentParentActivityType ) : void
fragmentView this
fragmentParentActivityType System.Type
return void

ToFragment() public static method

public static ToFragment ( this fragmentView ) : Fragment
fragmentView this
return Fragment