Esempio n. 1
0
            public override SupportFragment GetItem(int position)
            {
                SummaryFragmentView summaryFragmentView = SummaryFragmentView.NewInstance(position, mCheckListId);

                SummaryInteractor sumaryInteractor = new SummaryInteractor(context);

                new SummaryViewModel(summaryFragmentView, sumaryInteractor);
                return(summaryFragmentView);
            }
Esempio n. 2
0
        public static SummaryFragmentView NewInstance(int position, int idCheckLsit)
        {
            SummaryFragmentView summaryFragmentView = new SummaryFragmentView();

            Bundle args = new Bundle();

            args.PutInt(ARG_PAGE, position);
            args.PutInt(ARG_ID_CHECKLIST, idCheckLsit);
            summaryFragmentView.Arguments = args;

            return(summaryFragmentView);
        }