Exemple #1
0
        static ViewModelStoreFragment Create(FragmentManager ft)
        {
            var holder = new ViewModelStoreFragment();

            ft.BeginTransaction()
            .Add(holder, HOLDER_TAG)
            .CommitAllowingStateLoss();
            return(holder);
        }
Exemple #2
0
 public static IViewModelStore GetViewModelStore(this Fragment owner)
 {
     return(ViewModelStoreFragment.FindOrCreate(owner));
 }