5 Answers, 1 is accepted
0
Hi Gagan,
By design the application shows public pictures from different accounts with different tags.
You can freely use the source code and modify it according to your requirements though.
Regards,
Deyan
Telerik
By design the application shows public pictures from different accounts with different tags.
You can freely use the source code and modify it according to your requirements though.
Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Gagan
Top achievements
Rank 1
answered on 22 Nov 2013, 09:24 AM
Where in the source code is it accessing the different accounts? I'd like to change it and test it out.
0
Hello Gagan,
You need to take a look at the FlickrServiceProvider class in the ServiceProviders folder.
Regards,
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Gagan
Top achievements
Rank 1
answered on 05 Dec 2013, 07:44 AM
I couldn't find much to change in the FlickrServiceProvider file.
But I made the MainPage load up the AuthorPage at startup. And i replaced this.Author.Id with my author id.
I also made the following modifications to the OnTapped methods
It displays the picture successfully.
However, its not displaying the photo count, authors picture or authors name.
it only displays them when i search for the authors name or when i click the picture.
I dont know what else to change.
But I made the MainPage load up the AuthorPage at startup. And i replaced this.Author.Id with my author id.
this
.photoView.DataContext = App.Instance.CurrentImageServiceProvider.CreateAuthorPhotoList(
this
.Author.Id);
this
.galleriesView.DataContext = App.Instance.CurrentImageServiceProvider.CreateGalleryList(
this
.Author.Id);
I also made the following modifications to the OnTapped methods
private
void
OnGalleryTapped(
object
sender, EventArgs args)
{
App.Instance.SetCurrentViewModel<GalleryViewModel>(sender
as
GalleryViewModel);
//this.NavigationService.Navigate(App.GalleryPage);
var frame = App.Current.RootVisual
as
PhoneApplicationFrame;
frame.Navigate(App.GalleryPage);
}
private
void
OnPhotoTapped(
object
sender, EventArgs e)
{
PhotoListViewModel photoList =
this
.photoView.DataContext
as
PhotoListViewModel;
photoList.Photos.Apply<PhotoViewModel>((photo) => photo.Author =
this
.Author);
App.Instance.SetCurrentViewModel<PhotoListViewModel>(photoList);
//this.NavigationService.Navigate(App.PhotoPage);
var frame = App.Current.RootVisual
as
PhoneApplicationFrame;
frame.Navigate(App.PhotoPage);
}
It displays the picture successfully.
However, its not displaying the photo count, authors picture or authors name.
it only displays them when i search for the authors name or when i click the picture.
I dont know what else to change.
0
Hi Gagan,
Could you please send us a sample project showing clearly what you're trying to achieve. This way we will be able to assist you better. Please make sure that the FlickR API is not developed and maintained by us so it might take us longer to provide you with a proper answer.
Regards,
Kiril Stanoev
Telerik
Could you please send us a sample project showing clearly what you're trying to achieve. This way we will be able to assist you better. Please make sure that the FlickR API is not developed and maintained by us so it might take us longer to provide you with a proper answer.
Regards,
Kiril Stanoev
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.