예제 #1
0
        private void OnSearch()
        {
            IsSearchStateActive = true;

            _PhotosSearchService.SearchTags = SearchTag;
            PhotosCollection.RefreshAsync();
        }
예제 #2
0
        public override async void Prepare(string parameter)
        {
            base.Prepare(parameter);

            IsBusy = true;
            var photosResponse = await _photosService.GetPhotos();

            IsBusy = false;

            if (photosResponse.IsSuccess)
            {
                PhotosCollection.AddRange(photosResponse.Results);
            }
        }