Esempio n. 1
0
        public async override void OnNavigatedTo(object navigationParameter, NavigationMode navigationMode, Dictionary<string, object> viewModelState)
        {

            if (navigationMode == NavigationMode.Back)
                return;

            if (Statique.ConnectedToInternet())
            {
                ListPhoto = new IncrementalLoadingNotificationsCollection(_servicesPhoto, "", this);
            }
            else
            {
                MessageDialog msg = new MessageDialog("Please check your network!");
                await msg.ShowAsync();
            }

        }
Esempio n. 2
0
 private void LoadContents(string _searchPhoto)
 {
     Statique.listphotodesc = new List<Photo>();
     Listphoto = null;
     ListPhoto = new IncrementalLoadingNotificationsCollection(_servicesPhoto, _searchPhoto, this);
 }