public PhotosPageViewModel(
     ILog log,
     INavigationService navigationService,
     ISocialNetworkService socialNetworkService,
     IImagePicker imagePicker,
     INotificationsService notificationsService)
 {
     Log = log;
     NavigationService    = navigationService;
     SocialNetworkService = socialNetworkService;
     ImagePicker          = imagePicker;
     NotificationsService = notificationsService;
 }
예제 #2
0
 public UserProfilePageViewModel(
     ISocialNetworkService socialNetworkService,
     ILog log,
     INavigationService navigationService,
     INotificationsService notificationService,
     IInputService inputService)
 {
     Log = log;
     SocialNetworkService = socialNetworkService;
     NavigationService    = navigationService;
     NotificationService  = notificationService;
     InputService         = inputService;
     LoadData();
 }
예제 #3
0
        public MainPageViewModel(
            INavigationService navigationService,
            ISocialNetworkService socialNetworkService,
            ILog log)
        {
            Log = log;
            NavigationService    = navigationService;
            SocialNetworkService = socialNetworkService;

            if (SocialNetworkService.IsLogged())
            {
                Login();
            }
        }