public PhotosPageViewModel( ILog log, INavigationService navigationService, ISocialNetworkService socialNetworkService, IImagePicker imagePicker, INotificationsService notificationsService) { Log = log; NavigationService = navigationService; SocialNetworkService = socialNetworkService; ImagePicker = imagePicker; NotificationsService = notificationsService; }
public UserProfilePageViewModel( ISocialNetworkService socialNetworkService, ILog log, INavigationService navigationService, INotificationsService notificationService, IInputService inputService) { Log = log; SocialNetworkService = socialNetworkService; NavigationService = navigationService; NotificationService = notificationService; InputService = inputService; LoadData(); }
public MainPageViewModel( INavigationService navigationService, ISocialNetworkService socialNetworkService, ILog log) { Log = log; NavigationService = navigationService; SocialNetworkService = socialNetworkService; if (SocialNetworkService.IsLogged()) { Login(); } }