Well, JSON
format of your response
doesn't fit your interface, it should be:
interface service {
@GET("/muzei.php")
Map<String,Photo> getPopularPhotos();
static class Photo {
int id;
String user;
String title;
String url;
}
}
And response
:
Map<String, Photo> response = service.getPopularPhotos();
Then just re-write your code after you get response
to iterate through it