Esempio n. 1
0
        public TeamsViewModel(ITeamsService service, IMvxMessenger messenger, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
        {
            _service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

            Title = StringResources.Teams;

            DataLoader = new DataLoader();
        }
Esempio n. 2
0
        public TeamsViewModel(ITeamsService service, IMvxMessenger messenger, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
        {
            _service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

            Title = StringResources.Teams;

            DataLoader = new DataLoader();
        }
		public LastAddedTournamentsViewModel (IChGKWebService service, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
		{
            Title = StringResources.LastAdded;

			_service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

			DataLoader = new DataLoader ();
            _loadMoreHelper = new LoadMoreHelper<ITournament>() { OnLastItemShown = OnLastItemShown };
		}
        public LastAddedTournamentsViewModel(IChGKWebService service, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
        {
            Title = StringResources.LastAdded;

            _service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

            DataLoader      = new DataLoader();
            _loadMoreHelper = new LoadMoreHelper <ITournament>()
            {
                OnLastItemShown = OnLastItemShown
            };
        }