Example #1
0
 public InboxViewModel(
     IRepositories repositories,
     IInfoService infoService,
     INavigationService navigationService,
     IGatewayPollingService gatewayPollingService)
 {
     _mobileDataRepository  = repositories.MobileDataRepository;
     _infoService           = infoService;
     _navigationService     = navigationService;
     _gatewayPollingService = gatewayPollingService;
 }
Example #2
0
        public ManifestViewModel(IRepositories repositories, INavigationService navigationService, IReachability reachability, IToast toast,
                                 IGatewayPollingService gatewayPollingService, IGatewayQueuedService gatewayQueuedService, IInfoService infoService)
        {
            _mobileDataRepository         = repositories.MobileDataRepository;
            _applicationProfileRepository = repositories.ApplicationRepository;

            _navigationService     = navigationService;
            _reachability          = reachability;
            _toast                 = toast;
            _gatewayPollingService = gatewayPollingService;
            _gatewayQueuedService  = gatewayQueuedService;
            _infoService           = infoService;

            _initialised = true;

            Mvx.Resolve <ICheckForSoftwareUpdates>().Check();

            CreateSections();
        }