1
votes

I am currently developing a Restaurant finder application that allows the users to search for Restaurant's around them. I am using a List Adapter to display a list of nearby Restaurants, the only issue I am having is with displaying the photos of those Restaurants.

Looking at the Google Places Photos API I understand that for each Restaurant that has a photo there is a photo_reference attribute. So what I am trying to do is use the ImageLoader library to display all these photos in my list.

The problem here is that ImageLoader requires a URL of the photo but the Google Places API uses a photo_reference. How can I convert a photo_reference into a URL?

1

1 Answers