Esempio n. 1
0
        public RouteTabViewModel(ILoggerFactory logFactory, IMvxNavigationService navigationService, IDbActivityService dbactivityService, ITcxActivityService tcxActivityService)
            : base(logFactory, navigationService)
        {
            _dbactivityService  = dbactivityService;
            _tcxActivityService = tcxActivityService;

            Loader = new TaskLoaderNotifier <List <ActivityHeaderModel> >();
            ActivityTappedCommand = new MvxCommand <ActivityHeaderModel>(item => NavigationService.Navigate <DetailledRouteViewModel>(item.Id));
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RidesListViewModel" /> class.
 /// </summary>
 /// <param name="logFactory">The log provider.</param>
 /// <param name="navigationService">The navigation service.</param>
 public RidesListViewModel(ILoggerFactory logFactory, IMvxNavigationService navigationService, IDbActivityService dbactivityService, ITcxActivityService tcxActivityService)
     : base(logFactory, navigationService, dbactivityService, tcxActivityService)
 {
 }