private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
 {
     if (CatandgirlModel != null)
     {
         CatandgirlModel.GetShareContent(args.Request);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Load ViewModel items asynchronous
 /// </summary>
 public async Task LoadData(bool isNetworkAvailable)
 {
     var loadTasks = new Task[]
     {
         QuestionablecontentModel.LoadItems(isNetworkAvailable),
         PennyArcadeModel.LoadItems(isNetworkAvailable),
         PvponlineModel.LoadItems(isNetworkAvailable),
         CatandgirlModel.LoadItems(isNetworkAvailable),
     };
     await Task.WhenAll(loadTasks);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Refresh ViewModel items asynchronous
 /// </summary>
 public async Task RefreshData(bool isNetworkAvailable)
 {
     var refreshTasks = new Task[]
     {
         QuestionablecontentModel.RefreshItems(isNetworkAvailable),
         PennyArcadeModel.RefreshItems(isNetworkAvailable),
         PvponlineModel.RefreshItems(isNetworkAvailable),
         CatandgirlModel.RefreshItems(isNetworkAvailable),
     };
     await Task.WhenAll(refreshTasks);
 }