static ViewModelStoreFragment Create(FragmentManager ft) { var holder = new ViewModelStoreFragment(); ft.BeginTransaction() .Add(holder, HOLDER_TAG) .CommitAllowingStateLoss(); return(holder); }
public static IViewModelStore GetViewModelStore(this Fragment owner) { return(ViewModelStoreFragment.FindOrCreate(owner)); }