예제 #1
0
 public SummaryViewModel(SummaryFragmentViewInterface view,
                         SummaryInteractor Interactor)
 {
     mView = view;
     mView.setViewModel(this);
     mInteractor = Interactor;
 }
예제 #2
0
            public override SupportFragment GetItem(int position)
            {
                SummaryFragmentView summaryFragmentView = SummaryFragmentView.NewInstance(position, mCheckListId);

                SummaryInteractor sumaryInteractor = new SummaryInteractor(context);

                new SummaryViewModel(summaryFragmentView, sumaryInteractor);
                return(summaryFragmentView);
            }