C# 클래스 MvvmCross.Droid.FullFragging.Caching.MvxCachingFragmentActivity

상속: Views.MvxActivity, IFragmentCacheableActivity, IMvxFragmentHost
파일 보기 프로젝트 열기: MvvmCross/MvvmCross

공개 메소드들

메소드 설명
BuildFragmentCacheConfiguration ( ) : IFragmentCacheConfiguration
Close ( IMvxViewModel viewModel ) : bool
OnBackPressed ( ) : void
OnBeforeFragmentChanging ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
OnFragmentChanged ( IMvxCachedFragmentInfo fragmentInfo ) : void
OnFragmentChanging ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
OnFragmentCreated ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
OnFragmentPopped ( IList currentFragmentsInfo ) : void
Show ( MvxViewModelRequest request, Bundle bundle, Type fragmentType, MvxFragmentAttribute fragmentAttribute ) : bool

보호된 메소드들

메소드 설명
CloseFragment ( string tag, int contentId ) : void

Close Fragment with a specific tag at a specific placeholder

FragmentJavaName ( Type fragmentType ) : string
GetCurrentCacheableFragments ( ) : IEnumerable
GetCurrentCacheableFragmentsInfo ( ) : List
GetFragmentInfoByTag ( string tag ) : IMvxCachedFragmentInfo
GetFragmentTag ( MvxViewModelRequest request, Bundle bundle, Type fragmentType ) : string
GetLastFragmentInfo ( ) : IMvxCachedFragmentInfo
GetTagFromFragment ( Fragment fragment ) : string
MvxCachingFragmentActivity ( ) : System
MvxCachingFragmentActivity ( IntPtr javaReference, JniHandleOwnership transfer ) : System
OnCreate ( Bundle bundle ) : void
OnPostCreate ( Bundle savedInstanceState ) : void
OnSaveInstanceState ( Bundle outState ) : void
ReplaceFragment ( FragmentTransaction ft, IMvxCachedFragmentInfo fragInfo ) : void
ShouldReplaceCurrentFragment ( IMvxCachedFragmentInfo newFragment, IMvxCachedFragmentInfo currentFragment, Bundle replacementBundle ) : FragmentReplaceMode
ShowFragment ( string tag, int contentId, Bundle bundle, bool forceAddToBackStack = false, bool forceReplaceFragment = false ) : void

Show Fragment with a specific tag at a specific placeholder

비공개 메소드들

메소드 설명
CreateFragmentTypesDictionary ( Bundle outState ) : Type>.Dictionary
RestoreFragmentsCache ( ) : void
RestoreViewModelsFromBundle ( IMvxJsonConverter serializer, Bundle savedInstanceState ) : void

메소드 상세

BuildFragmentCacheConfiguration() 공개 메소드

public BuildFragmentCacheConfiguration ( ) : IFragmentCacheConfiguration
리턴 IFragmentCacheConfiguration

Close() 공개 메소드

public Close ( IMvxViewModel viewModel ) : bool
viewModel IMvxViewModel
리턴 bool

CloseFragment() 보호된 메소드

Close Fragment with a specific tag at a specific placeholder
protected CloseFragment ( string tag, int contentId ) : void
tag string The tag for the fragment to lookup
contentId int Where you want to close the Fragment
리턴 void

FragmentJavaName() 보호된 메소드

protected FragmentJavaName ( Type fragmentType ) : string
fragmentType System.Type
리턴 string

GetCurrentCacheableFragments() 보호된 메소드

protected GetCurrentCacheableFragments ( ) : IEnumerable
리턴 IEnumerable

GetCurrentCacheableFragmentsInfo() 보호된 메소드

protected GetCurrentCacheableFragmentsInfo ( ) : List
리턴 List

GetFragmentInfoByTag() 보호된 메소드

protected GetFragmentInfoByTag ( string tag ) : IMvxCachedFragmentInfo
tag string
리턴 IMvxCachedFragmentInfo

GetFragmentTag() 보호된 메소드

protected GetFragmentTag ( MvxViewModelRequest request, Bundle bundle, Type fragmentType ) : string
request MvvmCross.Core.ViewModels.MvxViewModelRequest
bundle Bundle
fragmentType System.Type
리턴 string

GetLastFragmentInfo() 보호된 메소드

protected GetLastFragmentInfo ( ) : IMvxCachedFragmentInfo
리턴 IMvxCachedFragmentInfo

GetTagFromFragment() 보호된 메소드

protected GetTagFromFragment ( Fragment fragment ) : string
fragment Fragment
리턴 string

MvxCachingFragmentActivity() 보호된 메소드

protected MvxCachingFragmentActivity ( ) : System
리턴 System

MvxCachingFragmentActivity() 보호된 메소드

protected MvxCachingFragmentActivity ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
리턴 System

OnBackPressed() 공개 메소드

public OnBackPressed ( ) : void
리턴 void

OnBeforeFragmentChanging() 공개 메소드

public OnBeforeFragmentChanging ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
fragmentInfo IMvxCachedFragmentInfo
transaction FragmentTransaction
리턴 void

OnCreate() 보호된 메소드

protected OnCreate ( Bundle bundle ) : void
bundle Bundle
리턴 void

OnFragmentChanged() 공개 메소드

public OnFragmentChanged ( IMvxCachedFragmentInfo fragmentInfo ) : void
fragmentInfo IMvxCachedFragmentInfo
리턴 void

OnFragmentChanging() 공개 메소드

public OnFragmentChanging ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
fragmentInfo IMvxCachedFragmentInfo
transaction FragmentTransaction
리턴 void

OnFragmentCreated() 공개 메소드

public OnFragmentCreated ( IMvxCachedFragmentInfo fragmentInfo, FragmentTransaction transaction ) : void
fragmentInfo IMvxCachedFragmentInfo
transaction FragmentTransaction
리턴 void

OnFragmentPopped() 공개 메소드

public OnFragmentPopped ( IList currentFragmentsInfo ) : void
currentFragmentsInfo IList
리턴 void

OnPostCreate() 보호된 메소드

protected OnPostCreate ( Bundle savedInstanceState ) : void
savedInstanceState Bundle
리턴 void

OnSaveInstanceState() 보호된 메소드

protected OnSaveInstanceState ( Bundle outState ) : void
outState Bundle
리턴 void

ReplaceFragment() 보호된 메소드

protected ReplaceFragment ( FragmentTransaction ft, IMvxCachedFragmentInfo fragInfo ) : void
ft FragmentTransaction
fragInfo IMvxCachedFragmentInfo
리턴 void

ShouldReplaceCurrentFragment() 보호된 메소드

protected ShouldReplaceCurrentFragment ( IMvxCachedFragmentInfo newFragment, IMvxCachedFragmentInfo currentFragment, Bundle replacementBundle ) : FragmentReplaceMode
newFragment IMvxCachedFragmentInfo
currentFragment IMvxCachedFragmentInfo
replacementBundle Bundle
리턴 FragmentReplaceMode

Show() 공개 메소드

public Show ( MvxViewModelRequest request, Bundle bundle, Type fragmentType, MvxFragmentAttribute fragmentAttribute ) : bool
request MvvmCross.Core.ViewModels.MvxViewModelRequest
bundle Bundle
fragmentType System.Type
fragmentAttribute MvvmCross.Droid.Shared.Attributes.MvxFragmentAttribute
리턴 bool

ShowFragment() 보호된 메소드

Show Fragment with a specific tag at a specific placeholder
protected ShowFragment ( string tag, int contentId, Bundle bundle, bool forceAddToBackStack = false, bool forceReplaceFragment = false ) : void
tag string The tag for the fragment to lookup
contentId int Where you want to show the Fragment
bundle Bundle Bundle which usually contains a Serialized MvxViewModelRequest
forceAddToBackStack bool If you want to force add the fragment to the backstack so on backbutton it will go back to it. Note: This will override IMvxCachedFragmentInfo.AddToBackStack configuration.
forceReplaceFragment bool If you want the fragment to be re-created
리턴 void