Beispiel #1
0
 private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
 {
     if (GoFlexArmModel != null)
     {
         GoFlexArmModel.GetShareContent(args.Request);
     }
 }
Beispiel #2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            _navigationHelper.OnNavigatedTo(e);
            NavigationServices.CurrentViewModel = null;
            await GoFlexArmModel.LoadItems(NetworkInterface.GetIsNetworkAvailable());

            DataContext = this;
        }
Beispiel #3
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            _dataTransferManager = DataTransferManager.GetForCurrentView();
            _dataTransferManager.DataRequested += OnDataRequested;

            _navigationHelper.OnNavigatedTo(e);
            NavigationServices.CurrentViewModel = null;
            await GoFlexArmModel.LoadItems(NetworkInterface.GetIsNetworkAvailable());

            DataContext = this;
        }