Пример #1
0
        private async void changeFolder(UserFileModel file)
        {
            NavFolder.Add(new KeyValuePair <int, string>(file.id, file.file_name));
            Data = await Utils.NetUtils.GetFilesAndFoldersById(file.id);

            spliteData();
        }
Пример #2
0
        private async void initData()
        {
            App.InitData();
            Data = await Utils.NetUtils.GetRoot();

            NavFolder.Clear();
            NavFolder.Add(App.GetCurrentFolder());
            spliteData();
            OnPropertyChanged("Data");
            OnPropertyChanged("FolderData");
            OnPropertyChanged("FileData");
            OnPropertyChanged("NavFolder");
            OnPropertyChanged("IsSettingOpen");
        }